Hello
I want to change save type format of checkbox from serialize to unserialize !
i mean when i want to select multiple item in acf , this data will be serialized
so they saving like this :
a:4:{i:0;s:1:"1";i:1;s:1:"2";i:2;s:1:"3";i:3;s:1:"4";}
but i want to save in unserialize type , like this
1,2,3,4
Hi @jack_2010
Sorry, ACF saves all array data as a serialize array ans is not possible to change the save type to coma separated string.
Thanks
E
@elliot
can you write dedicated checkbox module for me ?
please help me how can i contact with you 🙂
Hi @jack_2010
I can not write a dedicated checkbox field for you.
If you wish to create your own checkbox field, please read over the documentation which explains how to create a custom field type:
http://www.advancedcustomfields.com/resources/tutorials/creating-a-new-field-type/
May I ask why you need the data to be saved in this format? Why can’t you have it saved as a serialized array?
Thanks
E
I know why he needs it to be unserialized. In database it looks like https://yadi.sk/d/8NCF4IaeV2i9c . And when i export it to Excel i get https://yadi.sk/d/2VKnO00DV2jho insted of data separated by commas.
I search for any posiibility to make it right now. I’d appriciate any help!