First of all, Thank you for such an informative and useful forum. I managed to create an event submission page and dynamic pages to show the events by referring to some of the discussion on the forum. But need some help further to fine-tune my event website.
The event submission form has required setting for some fields like venue and city.
The form has a switch button where visitors can toggle between online or in-person events.
The venue is mandatory for ‘in-person’. However, if the visitor switches to ‘online’ the venue button collapses, as desired, but while clicking the submit button the venue field expands with the required highlight.
Can I change the required setting on toggle or can I pass some default value to the ‘venue’ when I toggle to online. But how?
#switch #inputvalidation #required