error hiding fields

Conditionally hide a form field based on a checkbox selection.

Overview

The conditional display logic in the form builder may not be functioning as expected.
Implement a custom JavaScript function to add a hide class to the target field, or upgrade to ChronoForms v7 and use its built-in field events feature.

Answered
ChronoForms v6
er ernst@volny.cz 25 Nov, 2020
I want to conditionally display a box based on a checkbox.
"field1" is the field I want to hide.
error hiding fields image 1




But this doesn't work and I'd like to know why. I solved this with my own JS function, which adds a hide class to the field1 field
Max_admin Max_admin 29 Nov, 2020
Answer
Are you able to switch to v7, here is a video on ChronoForms7 fields events
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.