Grow your CSS skills. Land your dream job.

Seminar Registration form – validation

  • # March 24, 2013 at 4:20 pm

    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)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".