Database entries – form validation
I would like to know if it is normal that the database is filled even if the valadation returns error… example :
The field name is required, so if I forget to put my name and I press the submit button I have an alert that says, Please entre your name. Ok, so I enter my name and submit again… now I have registered correctly.
When I go to see the database… I have 2 entries… One without the name and the other with the name!
Is it possible to do not write in the database if the submission form is not all validated?
- The topic ‘Database entries – form validation’ is closed to new replies.