Problems with showForminDialog

hi, all

Im starting develop a solution for web client and i found a problem with the showForminDialog.

I have a form that calls this function and the client has to choose between two options (obviously one button each). Each button saves the answer in a global variable and then closes the form dialog. In the onHide event of the form in dialog i have a method that, depending of the option the client chose, shows one form or another. The problem is that i want the form to be shown in the “principal” window (not in the dialog), but it shows in the dialog. Is there a way to tell Servoy to show the form in the “principal” window not in the dialog???

thank you very much

Andres

pd: hope you understood

In your onHide method, use:

application.showForm(form_name);
```to show the form.

thank you Joas, that was it… i thought that was the same as controller.show, but i see its not

Andres