checkbox toggle not working
-
I’m trying to toggle show/hide one group while showing/hiding a second group when the user checks and unchecks a terms and conditions checkbox. Unfortunately, the plugin doesn’t work at all with [acceptance] tags.
I want it to hide the terms and show the submit button when the user checks the box — ergo, when they agree to the terms, they are then allowed to submit the form (upload), if they unagree, the terms show again and the submit button disappears.
The plugin toggles the submit button group properly, but only when that’s the only element I have set conditions for. It doesn’t work at all with the terms group and the submit button group is hidden and won’t toggle when I add conditions for the terms group.
I’ve tried everything I could think of, including trying to fool the plugin into thinking plaintext was a legit CF7 tag by using [text text-1], and <label> to see if that mattered.
Also, the conditions for the submit button group get corrupted and won’t work sometimes when I try to add conditions for the terms group, and I have to remove all conditions and even at times delete the entire form and paste the original (same) form block back into CF7’s form tab.
tldr;
It doesn’t work with more than one group, at least when a checkbox is the trigger. And it would be nice if it would work with plaintext — it doesn’t, even if the text is the only group.
The topic ‘checkbox toggle not working’ is closed to new replies.