Reset Field Value When Conditional Field is not “True”
-
Hello,
I need a fix on my ACF conditional fields.?
Here is a scenario
Location (field)
– Radio Button A – (Remote)
– Radio Button B – (States)
When “Radio Button B” is selected > Field C (Checkbox – List of 50 US States) is displayed.?The problem starts when the user who selected “Radio Button B” and changed is mind and selects “Radio Button A”: all the selected states in “Field C” are still checked on the admin area and displayed on the frontend.
Goal: When user switches back from “Radio Button B” to “Radio Button A” all the value in “B” must be cleared/reset.
I want my ACF fields by default to reset all the fields displayed conditionally if the condition is no longer true.
Thanks in advance,
— GM
- The topic ‘Reset Field Value When Conditional Field is not “True”’ is closed to new replies.