Support

Account

Home Forums ACF PRO Uncheck Hidden Field Checkboxes

Helping

Uncheck Hidden Field Checkboxes

  • Hello I have a checkbox field that if checked Yes, a taxonomy of tags checkboxes becomes visible the conditional that the parent field is checked Yes.

    If I uncheck Yes the taxonomy tags/checkboxes group does get hidden but the values remain checked.

    Is there any way to uncheck the taxonomy tags when the group is hidden?

    thanks! Image is attached.

    Example Image of Issue
    (the img embed did not work, my apologies for just a link!)

  • There isn’t a way to automatically remove the values of fields hidden by conditional logic in ACF.

    What you would need to do it to create an acf/save_post filter http://www.advancedcustomfields.com/resources/acfsave_post/

    In this filter you can get the value for the field that contains the condition and then use code to remove the values from the conditional fields.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Uncheck Hidden Field Checkboxes’ is closed to new replies.