Home › Forums › Backend Issues (wp-admin) › Multiple Select value not saved › Reply To: Multiple Select value not saved
Thank you Jdorner but when I var_dump the $_POST before updating my post my field has only one value instead of an array with the multiple values selected before.
In your exemple you write in hard code the values before updating the field but I cant.
I might have poorly explain my problem and I’m sorry for that.
I created a multiple values select field but when I update my post only one value is saved in the DB. I wrote a tiny script to see the value of the select on change and when I selected two or three values, the select values are good. But when I update my post, the value in $_POST is not correct, there’s only the first value selected.
I’m sorry it’s a little bit confusing but I dont really know what to say.
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.