Support

Home Forums Event Espresso Premium Conditional Questions – Event Registration Form

Conditional Questions – Event Registration Form

Posted: June 21, 2023 at 7:37 am

Viewing 3 reply threads


brettfielo

June 21, 2023 at 7:37 am

I see there has been a lot of discussion for a few years on conditional questions. Has there been any progress or has anyone successfully implemented this? I have a set of standard questions that appear on every event and if one question is answered “yes” then the registrant must fill out a series of additional questions. Any ideas?


Tony

  • Support Staff

June 21, 2023 at 7:43 am

Hi there,

Not currently no, you would basically need your own JS to hide show questions based on the input selected, for example:

https://gist.github.com/joshfeck/183209d5239cc07ec94f9ebbfb017d40

We do have conditional logic for the registrations forms on our roadmap but nothin available as of yet.


brettfielo

June 21, 2023 at 7:56 am

Thanks. Could this work with a block of questions – example the registrant selects yes and then 6 additional questions are displayed.


Tony

  • Support Staff

June 22, 2023 at 9:29 am

Sure, what I would likely do there is create an array of ID’s that you want hidden, loop over them all call .hide();

Then on the change, loop over that same array again and run .show();

Most that is already done in that snippet, you’d just need to add your array and use each()

Viewing 3 reply threads

The support post ‘Conditional Questions – Event Registration Form’ 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