Support

Account

Home Forums Front-end Issues Loading field values on front-end form Reply To: Loading field values on front-end form

  • Dear elliot,

    now I have another question regarding checkbox values.

    I’m saving acf form data with ajax to postmeta, for a checkbox field with two checkboxes

    value, anothervalue

    the data stored by acf if both are checked is:

    a:2{i:0;s:5:”value”;i:1;s:12:”anothervalue”;}

    when I reload the page, retrieving postmeta and
    set $field[‘value’] to a:2{i:0;s:5:”value”;i:1;s:12:”anothervalue”;}
    the checkboxes are not checked 🙁

    what am I doing wrong here?

    Thank you and best regards,

    Jan