Bali Web Design Studio is a small enthusiast web design studio based in Bali, Jakarta, Indonesia.

jQuery validation engine, jquery inline form validation

jQuery validation engine, yet another nice form validation plugin for jquery javascript framework, comes with language localization supported and many predefined validation rules:

  • optional: Special: Only validate when the field is not empty
  • required: Field is required
  • length[0,100] : Between x and x characters allowed
  • minCheckbox[7] : Set the maximum checkbox autorized for a group
  • confirm[fieldID] : Match the other field (ie:confirm password)
  • telephone : Match telephone regEx rule.
  • email : Match email regEx rule.
  • onlyNumber : Numbers only
  • noSpecialCaracters : No special characters allowed
  • onlyLetter : Letters only
  • date : Invalid date, must be in YYYY-MM-DD format

but you also could define a custom validation rule i.e:

"telephone":{
"regex":"/^[0-9-()]+$/",
"alertText":"* Invalid phone number"},

Has been tested in Internet Exploder 6 & 7, Firefox 3+, Safari 4, Chrome 1+

Download and Demos

9 Responses.

  1. Sourav Mandal March 16, 2012

    It doesn’t validate space on required field, to avoid this problem modify little line of code in “jquery.validationEngine.js” file =>
    if (!field.val()) with this [if (!field.val().replace(/\s*/g, ''))]// at line no. 645.

  2. Emeka May 18, 2011

    Please how can i prompt custom error messages generated from php script using inline form validation

  3. Liaqat October 20, 2010

    how can a range be given to the date in this validation

  4. Maverik May 30, 2010

    Hi ALL..,
    Great plugin, I m just looking into the jquery .. nice plugin.

    But i m not able to validate i wanted to restrict the user to upload only jpeg images..

    So if any one knows please send me a reply

    Thanks..

  5. Asif Chouhan May 5, 2010

    If I want to validate two textboxes outwhich entry to anyone textbox is compulsory.

  6. thesti January 11, 2010

    good and easy to use validation plug-in. thanks for the share

  7. rebzie November 24, 2009

    noSpecialCaracters should be noSpecialCharacters

  8. yashmistrey November 23, 2009

    Hello Friend
    I tried the form, nice appearance.
    but how to validate the file field,
    i.e. word document only.

  9. anoop September 13, 2009

    i want javascript for scroll the icons

Leave a Reply

bali web design studio Freelance Web Developer Works Bali Web Design Portfolio Get Web Design Quotation RSS Feeds