- Joined
- Jul 20, 2002
I need to verify the input fields on a form are all filled out. I was thinking of creating a javascript onclick event handler for the submit button, then using javascript to make sure all input fields don't have their default values and aren't empty/null. If the input fields aren't all filled out I was just planning on using an alert box to report that all input fields need to be filled out before the form is submitted. If anyone has any tips, pointers or better ways of doing this I'd like to hear them.