Problem with doo.form.openform()

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.

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

It works. Thank you, Filip.