11 Nov 2016
in reply to
Missing user
Link to this post
Hi Geoff,
You need to set your function to return true or false based on validation result. Then, call your function on the "OnClientClick" event of submit button. To locate the OnClientClick event for your form "Submit" button goto;
"Submit button"-->"Edit"-->"Advanced"-->"OnClientClick"--> call your Javascript function using condition so that if it returns true then, the form will submit otherwise, the user will be prompted message and will stay on the same form.
Example of sample function call to put under OnClickClieckEvent box;
if(!YourJavaScriptFunctioname()==false)
Last modified on 11 Nov 2016 22:11 by Missing user