Hi everyone,
I've got an annoying issue.
I've been opening a form in iframe with openURL, and adding
&zc_NextUrl=#Script:dialog.close closes the iframe when I click submit/update.
Now I want to open two forms, side-by-side.
This (I think) means I have to open a Page that has the two forms embedded in an iframe.
However, when I click Update/Submit, nothing happens.
The dialog doesn't close. It redirects to "Data added successfully!" and you have to manually close the window.
If I add
#Script:dialog.close, #Script:page.close or
#Script:parent.page.close as the next URL, nothing at all happens, and the form just sits there without refreshing or closing. Same for if I put those scripts into On Submit (Validate).
Any ideas on how to close the dialog on Submit of the left form? Ideally would automatically submit the right form as well.
Thanks!
Iframe with two forms