Support

Home Forums Event Espresso Premium Added new 'required' question but able to submit registration without filling in

Added new 'required' question but able to submit registration without filling in

Posted: July 5, 2016 at 4:20 am

Viewing 11 reply threads


Ross Harvey

July 5, 2016 at 4:20 am

I have added an “Agree to Terms and Conditions” type of question with a checkbox to my registration form. The question is “required”, however, I am able to submit test registrations without checking the box.
I followed the steps in this tutorial: https://eventespresso.com/wiki/how-to-require-attendees-to-agree-to-a-policy-before-being-allowed-to-register/

Everything else about the question, the group (in its own group and assigned only to that group), and including it in the event seem to be correct. It shows up in the reg form as it should and has the red asterisk like the other required questions. Leaving any of the other 3 required questions unfilled results in the proper error message – my new question does not – the registration submits without it.

I also tried assigning the question to the Personal Information group, but the question’s behavior was the same.

The event is not live yet and is not public.
Word Press 4.5.3
EE 4.9.2


Tony

  • Support Staff

July 5, 2016 at 4:57 am

Hi there,

If you open up Chrome Dev Tools or similar, click the Console tab and then navigate to your registration form, does it show any errors?

It sounds like there may be a JS error being thrown on the page which is preventing the validation from working on the required field.


Ross Harvey

July 5, 2016 at 3:16 pm

Hi Tony,
Only thing that shows up in Console is “JQMIGRATE: Migrate is installed, version 1.4.1″
– then when the Method of Payment part comes up (when form successfully submits), there was an invalid CSS statement in single_page_checkout.css on line 271 (selector = #ee-single-page-checkout-dv input[type=checkbox]):
” *overflow: hidden;”

I added this selector and corrected overflow statement to the child theme – no difference in form behavior.

Also deactivated all plugins (StatCounter, SendGrid, Update Control,and site-specific EE plugin) – form behavior unaffected.


Tony

  • Support Staff

July 6, 2016 at 2:49 am

Can you link me to the event so I can take a look at this please?


Ross Harvey

July 6, 2016 at 3:02 am

Is there a way to send the link privately? Site isn’t public yet…


Tony

  • Support Staff

July 6, 2016 at 3:04 am

Sure,you can send the link to support[at]eventespresso.com

If we need login details to view the site you can use this form:

https://eventespresso.com/send-login-details/


Tony

  • Support Staff

July 6, 2016 at 9:09 am

I’ve confirmed the same issue on one of my test sites and have created a ticket for our developers to investigate.

For the time being if you switch the question to a radio button the validation will work, however note you will not be able to switch that question back to a checkbox if any registrations are made using that question. You would need to create another question and add that in place of the checkbox.


Ross Harvey

July 6, 2016 at 2:15 pm

OK, understood. Thank you!


Tony

  • Support Staff

July 7, 2016 at 4:32 am

Hi Ross,

Just a quick update one this.

The developers have found the cause and have added a fix to a branch of EE which will be reviewed and tested before being included within the release version of EE.


Josh

  • Support Staff

July 14, 2016 at 12:15 pm

This is fixed in Event Espresso 4.9.3.p.


Ross Harvey

July 19, 2016 at 2:10 pm

and it works!
Thank you for the fix.


Tony

  • Support Staff

July 19, 2016 at 2:18 pm

Thank you for letting us know 🙂

I’ll mark this thread resolved.

Viewing 11 reply threads

The support post ‘Added new 'required' question but able to submit registration without filling in’ 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