Support

Account

Home Forums General Issues Disabling a field before a call to acf_form

Unread

Disabling a field before a call to acf_form

  • Hello All,
    I am working on something on acf_form(), and I am trying to disable some field.
    I notice, in the function acf_render_fields(), that, if I var_dump $fields, that all my sub_fields has a [disabled] = false array value.
    Is there a way for me to set it to true before calling acf_form() ? would it be a solution ?
    Thanks for your help.

Viewing 1 post (of 1 total)

The topic ‘Disabling a field before a call to acf_form’ is closed to new replies.