I'm troubleshooting a fairly straightforward form with a checkbox with five choices, each of which corresponds to a group of fields that are either hidden or shown depending on whether the box is checked. Fairly simple.
The checkbox has code in the onClick event to set a viewScope variable and partial refresh a panel that encloses all the field groups. Each field group is inside a panel that renders if the viewScope variable is true.
However, if I quickly select three options, I'm finding that the clicks after the first one aren't always picked up and only the first panel shows. I'm assuming that this is because the onClick event only runs once and will not re-run if it is already running, right?
Can anybody suggest a more responsive way of doing this? Individual checkboxes? Client side JS instead?