Hello, I need assistance coding a field to make its /required/ setting conditional.
I have not yet added the field to the form, but it will be a field called /company name/ and i want it to be visible all the time (which i can do), but required ONLY in the event that the event type = school & university OR corporate.
1. The string in parentheses in this line of code comes from the id value of the /select/ label for the 'What Type of Event do you want to host?' field.
2. The string in parentheses in this line of code comes from the id value of the /input/ label for the 'Company Name' field.
3. The string in parentheses in this line of code comes from the id value of the /label/ label for the 'Company Name' field.
This id value does not exist by default and needs to be added manually.
4. The final result is shown below.
I hope my answer is helpful to you! If you have any other questions, please feel free to contact me. Best Regards, Dengliang Li
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.