Hi All,
I have javascript file validation.js with all the client side validations
for text, numbers, dates etc.,.
When I use WOJavascript with normal submit button, the validations are being
raised.
But, when I use AjaxSubmitButton instead of normal submit button, the
validations from the js
If you're validation script is running on form's onSubmit event. I suspect
these scripts won't get fired with AjaxSubmitButton however you can fire them
in onClickBefore event of AjaxSubmitButton and if the script returns true the
data will be posted to the action E.g.
Case 1: Normal Submit
Hi Farurukh,
Thanks for your help.
My validation script is running on form's onClick event. If I write the
javascript directly in the WOComponent, it is getting called by
AjaxSubmitButton.
When we use external js file, then the functions in external js functions
are not getting fired.
Pleae