Support

Account

Home Forums General Issues Prevent "disabled" on hidden conditional fields Reply To: Prevent "disabled" on hidden conditional fields

  • Similar questions have come up in the past. There isn’t any way that I know of in ACF to do what you are looking for.

    I think I remember one poster that hooked into the ACF javascript somehow when the submit button was clicked and toggled the conditional logic fields to show the fields before the form was submitted, but I cannot locate that topic.

    Short of this you would need to basically create your own conditional logic. For example use some type of choice field and then add your own custom JavaScript to detect when this field is toggled/changed and then hide the fields in question using CSS. You could probably target fields to show/hide for a specific choice field by adding custom CSS classes to the ACF field wrapper for the fields that you want to show/hide.