Form Validation + Ajax Submit With ProtoForm

ProtoForm is a "very easy to implement’, lightweight (4kb) & unobtrusive form validation & Ajaxed submit solution that depends on Prototype.

It can validate:

  • e-mail
  • date
  • telephone number
  • URL

Prototype Form Validation

Parameters are mentioned within the attributes like:

<input type="text" id="name_Req" name="name" title="Required! Try again" />

This makes it very easy to implement (a negative point can be requirement to define the ids in a specific way).

ProtoForm also sends data and shows response with Ajax, highlights the form field on focus and on error.