Page 1 of 1

Conditional formatting for form depending on run from home or in iframe

Posted: Thu Aug 04, 2022 6:30 pm
by nathan
Hi I have a form that I want to run from start menu and also in an iframe of another form I would like to change certain properties depending on were it is run from.
Ex: Colum widths of browse, set values of objects…
How can I determine whether it is stand alone or in iframe of a form so that I can apply different code to the form?

Thank you in advance for your great help !!! :ponder: :ponder:

Re: Conditional formatting for form depending on run from home or in iframe

Posted: Fri Aug 05, 2022 12:54 am
by kev1n
Hi nathan,

Use the function nuIsIframe() to detect if the form is within an iframe.