I would like a simple form validation and just need an example done that I can copy to my website.
- I would like a validation, that upon submit, the css Divs (ie the area surrounding the field) are focused to change color, and then refocus back to original color when the error is corrected.
- an error container with number of errors specified plus specify individual errors. Do not want error msgs beside fields.
- I would like an example to show a textfield, radio button field, and checkbox field.
- rules to be specified (required: true etc) within the script (rather than in the field), with appropriate class assigned.