- Jan 5, 2001
- 3,144
- 10
- 81
I built a form to collect data from users. When the Submit button is clicked a Javascript function runs to validate data. If the function finds an error, a message box pops up. If the user clicks OK the entire form clears and all the data has to be re-entered.
How do I stop the form from clearing?
How do I stop the form from clearing?