Dearest all,
In my form I'd like to let the form change according to the user's choice, it works fine with single fields but when I try to hide an entire field are in order to not set a rule for every single field, it doesn't work, what's wrong?
The working scheme is:
Radio button A: 1) _____ 2)____
1 shows calendar
2 shows radio button
if 1 --> it should open a single area field and hide the others
if 2 --> the same
I set the ID as it says but it doesn't do anything!
Thanks!
Giacomo
In my form I'd like to let the form change according to the user's choice, it works fine with single fields but when I try to hide an entire field are in order to not set a rule for every single field, it doesn't work, what's wrong?
The working scheme is:
Radio button A: 1) _____ 2)____
1 shows calendar
2 shows radio button
if 1 --> it should open a single area field and hide the others
if 2 --> the same
I set the ID as it says but it doesn't do anything!
Thanks!
Giacomo
Did you though? If you're setting an ID you need to use #id
Also disabling validation on the area won't disable validation on the fields. If you really want to do it on multiple fields, class is the better way to do it.
Also you don't need to set a rule for every field, the field identifier takes a multi line list of identifiers.
[file=11701]Field_events_-_by_method_09_Mar_2019_22_40_10.cf6bak[/file]
Also you don't need to set a rule for every field, the field identifier takes a multi line list of identifiers.
[file=11701]Field_events_-_by_method_09_Mar_2019_22_40_10.cf6bak[/file]
Hello,
Hiding a whole area can work by setting the event action to "hide" and the element id to #area_id
Disable/enable/disable validation of ALL fields inside an area can be done by setting the "element id" to
Best regards
Hiding a whole area can work by setting the event action to "hide" and the element id to #area_id
Disable/enable/disable validation of ALL fields inside an area can be done by setting the "element id" to
#area_id :inputOr give all the fields you want to disable a specific class and use that class
Best regards
*gasp* that's a good one didn't think of that
Any selector to match the fields in the area will work!🙂
This topic is locked and no more replies can be posted.