Show hidden field based on the selection of a checkbox

gv gvannauw 17 Nov, 2022
Hello everyone
I have in my form a checkbox basically with only two choices, i.e. J or N
Based on the selection, I would like to have another dropbown box appear where other choices can be selected..
​
So, for instance, if a user selects J in the checkbox 'other club', the hidden dropdown box with all the other clubnames should appear..
​
I guess this can be accomplished in chronoforms v7??
​
Tks for yr assistance
​
Gino
Co Colnem 17 Nov, 2022
Hi
​
You have to use Javascript on event to do that.
gv gvannauw 18 Nov, 2022
ok..
I'm with you ..
​
any examples ??
I am not familiar with javascript
​
Cheers
​
Gino
Gr GreyHead 18 Nov, 2022
Hi Gino,
​
I think that you can do this without JavaScript.
​
You need your form to be in Advanced mode, then on the Hidden Dropdown Advanced Settings > Behaviours click on Events in the Interface dropdown. That will open a little form to add an Event. In your case you want to Show this dropdown when the main checkbox equals J
​
Bob
This topic is locked and no more replies can be posted.