February 28th, 2009
Really Easy Form/Field Validation using Prototype+Scriptaculous
Hey Guys,
Its been a while since I have started my final year Project called “OptimaPrime- The Enterprise Project Management System”. Most of you must have heard of project management systems. It helps enterprises manage their projects, lets them keep it on schedule, helps them allocate resources etc.
I needed to perform form Validation since I had a lot of forms and it had lot of fields. I googled for good form validation plugins for Prototype + Scriptaculous (Since I have got really used to this cool library) and thats when I found Dexagogo’s Really Easy Field Validation plugin.
![]()
A very useful and a simple to use form validator for all kinds of forms. It has neat Fade IN/Fade OUT effects too. Custom classes can be defined, custom validations can be defined. It validates fields for a lot of different type of scenarios.
required(not blank)validate-number(a valid number)validate-digits(digits only)validate-alpha(letters only)validate-alphanum(only letters and numbers)validate-date(a valid date value)validate-email(a valid email address)validate-url(a valid URL)validate-date-au(a date formatted as; dd/mm/yyyy)validate-currency-dollar(a valid dollar value)validate-selection(first option e.g. ‘Select one…’ is not selected option)validate-one-required(At least one textbox/radio element must be selected in a group – see below*)
For more information on how to use this plugin visit Dexagogo’s Website. You can also check out a demo of this script at action HERE. It has very good documentation on how to use this plugin. Thanks Dexagogo. Although if you guys have any doubt on how to use it, I`ll be glad to help you out.














