Book
Submodule 8.3: Form validation
Submodule 8.3: Form validation
Completion requirements
View
- HTML validation
- JavaScript validation
2. Our file, the default HTML validation
The HTML provides input="text" validation, requires the field to be filled with at least one character.
The HTML provides input="email" validation, requires the "@" character, a character before and a character after this.
The textarea can be submitted empty, even if it is required.
Exercise
- Open the file
exersice08.2.html
in your browser and experiment with the existing validation.