Form name

How would you get a form name where the tab panel is nested. I have used “var formName = controller.getName();” but this gives me the nested form name and not the main form name.

I know I’v read it but I can’t fine it again.

Hi Alonzo,

If I understand you correctly you want to know the frontmost formname, right?
You were looking in the right direction :)

It’s currentcontroller.getName() .