Support

Account

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.