Home › Forums › General Issues › How to update_field for checkbox when value and label format is used › Reply To: How to update_field for checkbox when value and label format is used
Thanks.
I understand that but it doesn’t work.
It work for all checkbox field who has just “value” but doesn’t with this who has both label and value in return.
Here is my upload :
update_field(‘tags_de_lentreprise’, array($edition_societe_tag), ‘user_’.$user_id);
Where $edtion_societe_tag is the value of the checkbox check in frontend.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.