Support

Account

Home Forums General Issues ACF Checkboxes Initial State

Solving

ACF Checkboxes Initial State

  • Hello, I’m wondering if there’s a way to set a checkboxes’s initial state to checked? I haven’t found anything in the forums that covers this, and I’m wondering if I’m just missing something simple or it’s just not possible.

    Thanks in advance!

  • Hi @Industrious Industries

    You can find a default value for the checkbox field. This allows you to set multiple default values!

    Cheers
    Elliot

  • Hi Elliot,

    Great plugin, thank you! However, still not sure what to do to make all (or some) options checked by default?

  • if your checkbox ‘Choices’ values are:

    [apple, pear, banana]

    and you want ‘pear’ and ‘banana’ to be selected.

    Set your checkbox ‘Default Values’ to be:

    [pear, banana]

    #Note Each item should be on a seperate line

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

The topic ‘ACF Checkboxes Initial State’ is closed to new replies.