Support

Home Forums Event Espresso Premium Add jquery to inline php script to hide questions for certain tickets Reply To: Add jquery to inline php script to hide questions for certain tickets

Reply To: Add jquery to inline php script to hide questions for certain tickets

Author Replies
Josh # Posted on May 14, 2018 at 3:04 pm

It may work to follow this outline for those required questions, where you:
1) From the admin, don’t set them to be required
2) Then set the questions to be required using jQuery.
3) at which point this,
find( "[id^=["ee-reg-form-qstn-grp-veterans-pricing-"]" ).hide().attr("required", false);
will hide and un-require the questions in one go.

Do NOT follow this link or you will be banned from the site!