Support

Home Forums Event Espresso Premium Set default state on form

Set default state on form

Posted: June 24, 2019 at 8:27 am

Viewing 1 reply thread


vml

June 24, 2019 at 8:27 am

Is there still no way set a default state on forms? https://eventespresso.com/topic/set-a-default-state-in-registration-form/
I would think a substantial number of folks cater to local or primarily their state. Any repercussion to just creating a new dropdown list for states?


Josh

  • Support Staff

June 24, 2019 at 8:43 am

Hi,

The downside of just creating a new dropdown list for states is the answer to that new dropdown will not be mapped to the State field for the contact.

What you could do instead is add a bit of jQuery to the page (via a hook), which will automatically select the state. I can put together a little code snippet for you. May I ask which state do you want the form to default to?

Viewing 1 reply thread

The support post ‘Set default state on 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