T
tedqn
I usually use the onSubmit event to validate form because in case an
error is generated (not because user misses a field), the submit will
continue. Current I have a form in which I have to do a hidden iframe
background process to validate server side. If sucess then the iframe
page would generate the script to subit form. I don't like it because
if there's an error, the form won't be submitted at all even though
it's not the user's fault. I'd like your ideas on how to handle form
validations. Thanks.
error is generated (not because user misses a field), the submit will
continue. Current I have a form in which I have to do a hidden iframe
background process to validate server side. If sucess then the iframe
page would generate the script to subit form. I don't like it because
if there's an error, the form won't be submitted at all even though
it's not the user's fault. I'd like your ideas on how to handle form
validations. Thanks.