The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Livevalidation and Ruby

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #29323

    I’ve got a registration form that uses Ruby on Rails, for example, this is the email field:

    <%= f.label :email, "*Email Address:"%>

    <%= f.text_field :email %>

    I’d like to use 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:

    var f20 = new LiveValidation(‘f20’);
    f20.add( Validate.Email );
Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.