Skip to content

Client side validation for free (as in beer)

by Topper on April 16th, 2008

Ruby, Rails, Web2.0 » Blog Archive » Live Validation – Easy Client-side Javascript Validation

My library of choice is livevalidation, which has a Rails companion too – if you are using Rails form helpers and standard validation on your models, you don’t have to touch anything just install livevalidation (=drop it to your javascripts folder, it’s a single .js file). w00t!

This looks really interesting. livevalidation is a very nice JS library built on top of prototype. Haven’t yet played with the plugin, but it makes a lot of sense. Now – I just hope it writes its JS unobtrusively.