Conditional field problem when mandatory or optional
-
Hello,
In my form, depending on the age of the user, the email field is mandatory or optional.
So I created a condition to display the mandatory or optional fields depending on the age.[checkbox eleve use_label_element exclusive “Mineur ” “Majeur”]
[group elevemineur]
Email : [email email]
[/group][group elevemajeur]
Email* : [email* email]
[/group]The display works correctly but the code does not work, the email field is considered optional regardless of the age chosen (minor or adult).
The asterisk (*) of [email* email] is not taken into account.
Of course, I can create two different names email_minor and email_major but I need to have a single item for display in a single column of a table afterwards.
Do you have an idea to solve this problem?
You can see the form page here :
https://www.embba.fr/test2/My WP theme is Bravada
Thank youThe page I need help with: [log in to see the link]
- The topic ‘Conditional field problem when mandatory or optional’ is closed to new replies.