Unobtrusive Javascript Form Validation for Prototype

I’ve ported my YUI Unobtrusive Javascript Validation script to Prototype, since that’s what I’m using these days. It has exactly the same features as it’s YUI brother, but the script is much smaller and has been structured much better.


Share this Post:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • StumbleUpon
  • Slashdot

Tags: , , , ,

  1. written by simone March 18th, 2008 at 04:07 | #1

    this script just don’t works in explorer so it’s a bit useless…


  2. written by Patrick October 3rd, 2008 at 06:35 | #2

    does not work for me either…


  3. written by jc October 22nd, 2008 at 13:40 | #3

    Yes my mistake. Version 2.1 works in IE now. Post has been updated above.


  4. written by Ryan Dlugosz December 2nd, 2008 at 12:18 | #4

    Ah! Thanks for posting this update! I had found your original post & had been using the 2.0 version posted there (which doesn’t work with IE)… This new release fixed it – you may want to add a link on the original page that points folks to this updated post.

    Thanks for the script – works great & has been a huge time-saver!


  5. written by Lester September 6th, 2009 at 02:59 | #5

    Hi. Is there a way to call the form validation in js code ? i want to validate the form and then send the data via a ajax post. I had tried JS.Validate.checkForm(), but FF throws an error that the ‘e’ is not an object


  6. written by VB Guest September 26th, 2009 at 13:23 | #6

    I have red your documentation about the script. It looks promising. I am going to try that today. Thanks