Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Add More Attendees | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Add More Attendees

Add More Attendees

Posted: August 25, 2013 at 3:33 am

Viewing 1 reply thread


Jake Vizner

August 25, 2013 at 3:33 am

I wrote JQuery code to conditionally show questions and question groups based on the selected values. The registration form can be viewed here: http://d37.staging.wpengine.com/event-registration/?regevent_action=register&event_id=11

Here is working code that hides 4 question groups:
// hide question groups until user selects Conference Option
jQuery(“#full-conference-package-1377044346”).hide();
jQuery(“#full-conference-package-saturday-banquet-meal”).hide();
jQuery(“#a-la-carte-conference-options-1377044732”).hide();
jQuery(“#a-la-carte-conference-options-saturday-banque”).hide();

When I add an additional attendee the question groups for the 2nd attendee have the same ID (e.g. #full-conference-package-1377044346). How can I distinguish question groups among different attendees so I’m hiding/showing question groups only for the specific attendee?

Thank you,

Jake


Dean

  • Support Staff

August 26, 2013 at 1:50 am

Each form group has a containing div with an id like additional_attendee_2 so perhaps something this http://api.jquery.com/attribute-ends-with-selector/#attributevalue ?

Viewing 1 reply thread

The support post ‘Add More Attendees’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso - Staging Server