Reset or Clear Field Value Based on Condition
-
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 “Field C” must be cleared/reset.
I want ACF fields to reset all the fields displayed conditionally if the condition is no longer true. Can your plugin do that?
The topic ‘Reset or Clear Field Value Based on Condition’ is closed to new replies.