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

Home Forums JavaScript Seminar Registration form – validation

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

    I’m using something similar to the Seminar Registration form with form-fun.jquery – it is very cool. One problem I’m having is figuring out how to validate certain fields. For instance in the demo, if you choose to register 2 people, 2 blank fields slide out. How can I validate that both those forms are filled. I tried a javascript for loop, but could not figure out how to refer to each of the fields. for instance:

    for (var i=1;i = num_attendess.length;i++)
    if ( “nam_attendee_” + i == “”);
    $.stepOneComplete_one = “notcomplete”;

    Can anyone suggest anything to help?

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.