Link to home
Start Free TrialLog in
Avatar of reesecup09
reesecup09Flag for United States of America

asked on

Javascript to check for a blank form

Hi - I have an online employment application form that I uses CGI script to send the data to my email. I do not want a blank form to get submitted. I need some simple javascript that can check to see if all fields are empty and if so not to submit the form.  A window can pop up saying something like the form has not been completed. What is the best way to achieve this? Thank you.
Avatar of basav_com
basav_com
Flag of India image

Avatar of reesecup09

ASKER

Is there a way to check for a completely blank form instead of an individual field?
ASKER CERTIFIED SOLUTION
Avatar of basav_com
basav_com
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Will this check to see if no field has been completed?
yes... check the tutorial for more understanding.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.