Goto form defined by a Global

Hi all,

I want to make a method to go to a form defined in a variable.

I defined a global field called “globalform”. I want to go to that form filled in this field.

Is this possible?

Something like:

forms.globals.globalform.controller.show();

Best Regards,
Stef

Hi Stef,

I think this is what you want:

forms[globalform].controller.show()

(also check Methods>Flexible javascript in this forum)

Great! It works!

Thanks Maarten.

BR
Stef