Support

Home Forums Event Espresso Premium want to validate date of birth and phone number fields on registration page

want to validate date of birth and phone number fields on registration page

Posted: September 14, 2015 at 3:02 pm


Lane Houk

September 14, 2015 at 3:02 pm

Hello

I’d like to make some of our registration fields required. Specifically, I’d like to make sure dates are in the mm/dd/yyyy format, and phone numbers are in ###-###-#### format.

https://sohopefl.org/event-details

how can i add these restrictions to my registration forms?

Thanks!


Seth Shoultes

  • Support Staff

September 15, 2015 at 12:13 pm

Hey Lane,

I think you will need to write custom JQuery scripts for your site to facilitate this need. In the meantime, I have added an internal feature request for this.

Please let us know if you need anything else.


Lane Houk

September 16, 2015 at 4:14 am

Thanks Seth Shoultes for your reply.

it’s a standard feature and it should be with these type of form fields. i have applied custom jquery code in validation.js file but its not working can you help me with some code hints that will work with these 2 fields on my registration form.

Thanks


Josh

  • Support Staff

September 16, 2015 at 7:47 am

Hi Lane,

Can you post your custom jQuery code in a pastebin or gist, then post a link here so we can take a look? We should be able to offer some suggestions if we can take a look at the code.

The support post ‘want to validate date of birth and phone number fields on registration page’ 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