Support

Home Forums Event Espresso Premium Can we limit the Registration Question type YEAR dropdown to specific years?

Can we limit the Registration Question type YEAR dropdown to specific years?

Posted: November 2, 2017 at 1:07 pm


Jan_McClintock

November 2, 2017 at 1:07 pm

EE4: Is it possible to limit the range of the years available in the Registration Form Question YEAR dropdown? This is not the date-picker, but is instead the question type. We don’t want the “last 100 years” but want to limit the years to 1964 to 1994, for instance. Thanks!


Tony

  • Support Staff

November 2, 2017 at 2:01 pm

Hi Jan,

The question has filtered options so you can add something like this:

https://gist.github.com/Pebblo/cab87a68f388fa27db680b4e4aa294dd

To a Custom Functions Plugin on your site to limit the selection to the years requested.


Jan_McClintock

November 2, 2017 at 5:31 pm

Tony, thank you so much! Great stuff, and I appreciate the help.


Tony

  • Support Staff

November 3, 2017 at 3:09 am

You’re most welcome, I’m glad it’s working for you 🙂

If you haven’t done so already we’d really appreciate if you could share your EE experience with a review:

https://eventespresso.com/recommend-event-espresso/#review

The support post ‘Can we limit the Registration Question type YEAR dropdown to specific years?’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 1 year, 11 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!