The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

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.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed