- Show how to validate Form field in the Client/Browser
- Validate on Form Submission.
- Validate on Form Submission using the JQuery Validation Plugin
- Use Javascript Debugging tools.
- Chrome Inspector Panels
- Console Know how to log to console.
- Source.
Use the Debugger.
- Chrome Inspector Panels
The form should:
* A Name field. This field is required and MUST be have at least two characters.
* A Email field. This field is required and MUST be have a valid email address. Hint: Use a email regular expresssion.
* A URL field. This field is no required but it you enter something then it should be a valid URL. Hint: Use a email regular expresssion.
* A Comment field is required and have at least five characters.
Using pure Javascript
Using JQuery Validation Plugin