|
Hello
I have a form in which i want to call 3 functions when the button is pressed...
if one returns false i want all the functions to quit and display the error generated by the false returning function.
Will all the functions i call return false if one returns false how do i do this?
In short i dont want the form to continue if one function returns false..
Could someone share the code how it will be:
<button type="button" name="B2"
onclick="URLform.target='_parent';URLform.submit() ">
Accept Terms</button>
How will i do the returning false and true part?
|