Support

Home Forums Event Espresso Premium Is it possible to hide a question group during initial registration?

Is it possible to hide a question group during initial registration?

Posted: January 24, 2020 at 9:51 am


codingforsail

January 24, 2020 at 9:51 am

Hi,

My client has clients who book events so far in advance they do not know the names of the participants when they book.

Is it possible to hide this group of questions during the initial registration and allow them to complete the details later from their My Events page?

We are using the WP user integration.
None of the fields in this question group are mandatory.
Although I have selected to default the details to the primary registrant, the user still has to scroll down past n sets of participant information.
I looked at the css for the page. Each question group had the same class. the id for each question group looked as though it might change for different sessions.

Kind regards,

Anita


Josh

  • Support Staff

January 24, 2020 at 10:13 am

Hi,

This isn’t possible to just hide them, each registration must have a name and email address. What they could do is add a note that says if the registrant isn’t sure whom they’re signing up for, they can input something like “to be named later 1”, “to be named later 2”, and so on for each of the attendees. Then they’ll be able to update each name later.


codingforsail

January 27, 2020 at 8:22 am

Hi Josh,
Maybe I’m misunderstanding; maybe not explaining properly what I mean.

We do have the option selected to default the details for the primary registrant for the other participants in the group booking, so their details are captured.

There is a separate custom question group the client has created called Participant Information. It captures name, gender, date of birth and details of medical conditions or learning difficulties. None of the fields in this question group are mandatory, and the client doesn’t need them till close to the course date.

They’d rather their clients didn’t have to scroll down past (possibly 30+) sets of participant information so that they can complete their booking.

Have I clarified? Is there a way to do this?

Kind regards,

Anita


Josh

  • Support Staff

January 27, 2020 at 8:46 am

Yes, you can hide those with CSS. An entire question group can be hidden with something like the following:

.ee-reg-form-attendee-dv {position:
relative;
}

div[id^="ee-reg-form-qstn-grp-the-question-group-label-here"] {
position: absolute;
left: -1000px;
}

div[id^="ee-reg-form-qstn-grp-the-question-group-label-here"]::before {
content: "Information will be completed later.";
position: absolute;
left: 1020px;
top: -1REM;
width: 100%;
}

You’ll replace the-question-group-label-here with the actual question group label.

That said, if you hide the fields now, they will not be able to view/complete them later just before the course date, so you’ll likely need to remove the CSS at that time.


codingforsail

January 28, 2020 at 10:07 am

Hi Josh,

Thanks for the CSS.

They have too many events for me to add and remove CSS to show/hide the participant for each event.

I’ll have to think of something else!

Kind regards,

Anita

The support post ‘Is it possible to hide a question group during initial registration?’ 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