This is inside an input button
[B]onClick=”YY_checkform(‘frmDetails’,’Name’,’#q’,’0′,’You must provide a Name’,’Email’,’#S’,’2′,’You must provide an Email’);return document.MM_returnValue; insDetails();”
The problem I’m having is that after the validation is done, the insDetails function is not run. Nothing happens. However if the validation does not pass it returns the appropriate error mesasge.
There are a few different buttons on my page which have different validations and different functions to be run after.
Can anyone tell me how to get the insDetails funtion to run after the validation has passed, without altering the YY_checkform function, as this hile is common to most of my pages?
Thanks for any help
Ro ?