ZChar
November 3, 2024, 11:21am
#1
Hello,
I have an issue with a simple task: opening a new form via a push button. After pressing the button with this script:
(async (doo: IDoo) => { // do not change this line
try{
doo.form.openForm(“bTKReminder_2”);
console.log(“done”);
}
catch (error){
console.log(“err:”,error);
}
}) // do not change this line
I get this error:
I’d be grateful for any advice. Thank you.
Filip
November 4, 2024, 8:30am
#2
Hi,
I send example how to use openForm. information in consoli says that there are missing fields to create new form see documentation: doo.form - Tabidoo Help Center
const options: IOpenFormOptions = {
model: {
number: 1000
}
};
await doo.form.openForm('company',options);
Regards,
Filip
ZChar
November 8, 2024, 10:13pm
#3
It works. Thank you, Filip.