I’ve got a registration form that uses Ruby on Rails, for example, this is the email field:
Code:
<%= f.label :email, "*Email Address:"%>
<%= f.text_field :email %>
I’d like to use http://livevalidation.com/ to give instant feedback on the content entered, but I’m not particularly familiar with jQuery/JavaScript.
Does anyone know how I use LiveValidation to validate the content entered in the example above? If I wasn’t using Rails, I could just plug in to the sample for email validation, but that doesn’t seem to be the case:
Code:
var f20 = new LiveValidation(‘f20’);
f20.add( Validate.Email );