Adding validation to modal form

Adding validation to modal form

I already have a script that validates my forms in a standard html page.

I have now moved the forms over to a modal dialog window. The form will sit on existing other pages in a non dialog environment and use the same validation script.
 I need to keep this simple so I would like to do the following:

I need the script to be re-run when the window is in its 'open' state.

My assumptions are that I need to use the 'open' event and call the script, How do I do this? Examples would be good as I am still new to this.
    • Topic Participants

    • mnunn