I use an email field of type optional (but validated as email). In
addition there is already a condition, so that this field is filled, if
another field "want a copy" is selected.
Now I would like to change the type from optional to required, if a third field (bool) is selected.
What I tried:
edited the trigger conditions (5) of the email field and added a
completely new condition: if third field is yes then "has class" is
"required". "required" is entered in field "B" according to the tutorial
Well, it doesn't work ;-)
Is it a wrong approach or even a bug?
Any hints are very welcome :-)
[UPD] Well, I used the firefox debugger meanwhile. Now I see, that the class "required" is set in dependency of the third field. So my approach is the wrong way, to get it a required field ;-). Any ideas, how to do it in the right way?
Tried it already, it kinda works, though there is no notification to the user in case, that email field is not filled. He/She will not know, that the form was not transmitted. I must take a closer look at this ;-)