Hi
I have designed a big form wih many validations. Also there are a few validation in javascript. When I call the javascript function for validation from form submit client click,
if( ValidateMandatory() == true) { return true; } else { return false; }
If this returns true the the form validation doesnt work. I have also tried..
NWF$(document).submit(function () { function ValidateMandatory(){.......} });
but the validation works after the form is submitted and the page is refreshed. Is there a way I can trigger form validations from my javascript function.
Please help. I am on a deadline.
Solved! Go to Solution.
just the same question here Is it possible to call a JavaScript function in the Confirmation Message on a Save/Submit button?
is solution proposed there applicable for you?
Why You don't use custom validation function in forms controls as described in Help file: