Hi all
Am trying to validate a form onsubmit. And all the validation functions are working fine. I have assigned different type of validation functions to be called on clicking each input type="image"
The problem is when one button (image) has been clicked and an alert is given, after that whatever button (image) i click shows the same validation alert instead of showing its own validation error ..
Seems the problem is due to that i stop the form from being submitted by returning false..
Any help will be highly useful ..
Many Thanks in advance
Am trying to validate a form onsubmit. And all the validation functions are working fine. I have assigned different type of validation functions to be called on clicking each input type="image"
The problem is when one button (image) has been clicked and an alert is given, after that whatever button (image) i click shows the same validation alert instead of showing its own validation error ..
Seems the problem is due to that i stop the form from being submitted by returning false..
Any help will be highly useful ..
Many Thanks in advance
Comment