Example Form
Introduction
Adding Validation to a form
- The example form
- Including rsv.js
- Defining your validation rules
- Adding the onsubmit handler
- The finished product
References
Let's start with a simple form that we're going to want to validate. Here's what it looks like, followed by the code.