wuschel_lux
Member
Hi,
I am trying to have a form with each time different elements shown/hidden based on checkboxes set in an other table.
Table A contains:
ID | EVENT NAME (field) | REQUIRED_FIELDS (checkbox)
e.g.
13 | Test Event | ["A","C"]
Form B based on Table B
ID | EVENT (databasejoin) | FIELD A | FIELD B | FIELD C | FIELD D
e.g.
7 | 13 | Field A (show) | Field C (show)
How can I manage, when selecting in the Form B the EVENT, that fields are shown/hidden based on the Table A REQUIRED_FIELDS? With JavaScript I could manage to show hide on some criteria, but how ca I access the external table to get the values?
First try was with a calc field where I get the return ["A","C"], but I cannot trigger on this calc field JavaScript.
Has somebody a hint for me?
BR
I am trying to have a form with each time different elements shown/hidden based on checkboxes set in an other table.
Table A contains:
ID | EVENT NAME (field) | REQUIRED_FIELDS (checkbox)
e.g.
13 | Test Event | ["A","C"]
Form B based on Table B
ID | EVENT (databasejoin) | FIELD A | FIELD B | FIELD C | FIELD D
e.g.
7 | 13 | Field A (show) | Field C (show)
How can I manage, when selecting in the Form B the EVENT, that fields are shown/hidden based on the Table A REQUIRED_FIELDS? With JavaScript I could manage to show hide on some criteria, but how ca I access the external table to get the values?
First try was with a calc field where I get the return ["A","C"], but I cannot trigger on this calc field JavaScript.
Has somebody a hint for me?
BR