This content has been marked as final. Show 4 replies
if you want it to run on the parent page after close of the modal page use the autoclose feature of the plugin, for this you need to define a branch on the tabular form which includes a succes message ( see plugin docu ).
Thank you for your answers.
Basically, there's a button on my parent page which opens the modal page. The modal page has buttons Cancel, Delete and Save. Clicking Save button submits the changes and if there are errors, errors are shown and we stay on the modal page.
My modal pages are all of fixed dimensions and if there are errors, I have to adjust the other regions (adjust their height, add a scrollbar, etc) in order to show everything in the modal page.
I have written a function that does exactly that, but I have to execute the function after the page is loaded and the regions are shown. But, if I execute it using onload attribute, or setting a dynamic action which fires on page load, the function gets executed during the submit, before the regions are shown.
I hope I have managed to clear up the problem.
As always, thank you.