Conditional Checkbox Group

Yudhizth 15 Aug, 2016
I successfully create dynamic checkbox group from DB read. Now I confused when try to create condition to show fileupload (with name file1). The value of checkbox group are 1,3 and 5 with option name are ; option1, option3, and option5. If option5 is checked then file1 is appear. Although the other option is checked too, its still appear. And when option5 is not checked, the file1 is disappear. And also when no one is checked, file1 is not showing. Need guide for this one 😀

Thank you.
GreyHead 15 Aug, 2016
Hi Yudhizth,

The first question is 'Do you mean to use a CheckBox group where more than one option can be selected?'

IIRC the ChronoForms Events code does not work with CheckBox groups as it can't handle the multiple selections. You can do this with custom JavaScript.

Bob
Yudhizth 15 Aug, 2016
Thanks for the answer Bob,

Yes absolutely correct. Would you mind to give an example please. I'm not an expert i javascript. 🤣
This topic is locked and no more replies can be posted.