Hello, I have different field elements and an checkbox element with 5 options.
I want that all the field elements are hidden by loading the form and checkboxes are not marked. Then if I mark one or more options of the checkboxes the fields should appear accordingly and if I uncheck it, the fields should disapear.
I tried to solve is with the pre defined actions of Javascript, but I have to add very much and everytime if I save and close my checkbox element with the javascript actions and open in again, some actions are deleted. So I hope that someone can help me to give me the custom js code to solve my issue.
Here is an example what I want.
Fieldelements:
A Singleroom 1
A Singleroom 2
A Singleroom 3
A Doubleroom 1
A Doubleroom 2
A Doubleroom 3
B Singleroom 1
B Singleroom 2
B Doubleroom 1
B Doubleroom 2
C Singleroom
C Doubleroom
etc also for D and E
Checkbox with Options A,B, C,D, E
Now I want that if I check A that all fields with A appear, if I check B all fields with B and so on.
Hope it is clear what I need.
Thanks for your help and this great component,
joki
Single3
DoubleA
DoubleB
DoubleC
I want that all the field elements are hidden by loading the form and checkboxes are not marked. Then if I mark one or more options of the checkboxes the fields should appear accordingly and if I uncheck it, the fields should disapear.
I tried to solve is with the pre defined actions of Javascript, but I have to add very much and everytime if I save and close my checkbox element with the javascript actions and open in again, some actions are deleted. So I hope that someone can help me to give me the custom js code to solve my issue.
Here is an example what I want.
Fieldelements:
A Singleroom 1
A Singleroom 2
A Singleroom 3
A Doubleroom 1
A Doubleroom 2
A Doubleroom 3
B Singleroom 1
B Singleroom 2
B Doubleroom 1
B Doubleroom 2
C Singleroom
C Doubleroom
etc also for D and E
Checkbox with Options A,B, C,D, E
Now I want that if I check A that all fields with A appear, if I check B all fields with B and so on.
Hope it is clear what I need.
Thanks for your help and this great component,
joki
Single3
DoubleA
DoubleB
DoubleC