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 (https://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

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