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
Is it possible to NOT require email address for additional attendees? | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Is it possible to NOT require email address for additional attendees?

Is it possible to NOT require email address for additional attendees?

Posted: December 2, 2013 at 8:51 am

Viewing 2 reply threads


Hugo Azzolini

December 2, 2013 at 8:51 am

Hi.

I am trying to set up a pretty specific use case: we want to allow group registration, and we want to collect some personal info about the additional attendees, but not their email addresses.

I have seen some posts (http://staging.eventespresso.com/topic/possible-to-make-name-fields-not-required/) discouraging the modification of the ‘Personal Information’ question group.

Is it possible to add an additional question group as an option to the ‘Additional Attendee Registration info?’ setting?

Thanks.


Sidney Harrell

  • Support Staff

December 2, 2013 at 12:11 pm

I would actually use some jQuery on the registration page to remove the ‘required’ class from the additional attendee’s email field, hide the field, and maybe put some placeholder text in the field. It would be fairly easy to implement, and much less likely to cause problems in the future.


Hugo Azzolini

December 3, 2013 at 2:20 pm

Worked Like a charm.

If anyone is interested in the code I used:

<code>		if ($(&#039;.multi_regis_wrapper_attendee-additional&#039;).length &gt; 0) {
			var $attendee = $(&#039;.multi_regis_wrapper_attendee-additional&#039;),
				$email = $(&#039;.multi_regis_wrapper_attendee-additional input.email&#039;),
				$label = $(&#039;.multi_regis_wrapper_attendee-additional label[for=&quot;email&quot;]&#039;);

			$attendee.each(function() {
				$email.removeClass(&#039;required&#039;).hide();
				$label.hide();
			});
		}</code>
Viewing 2 reply threads

The support post ‘Is it possible to NOT require email address for additional 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