Checkbox List - Save as Serialized Array

Support General Checkbox List - Save as Serialized Array

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #49166
    shmaltzshmaltz
    Participant

    Is it possible to save the Checkbox List values as a Serialized Array in a single meta field?

    #49170
    PeterPeter
    Moderator

    Hello,

    If you want to save the field value as a serialized array in the database, please enable the cloneable setting for this field. Following the documentation https://docs.metabox.io/fields/checkbox-list/#data

    #49171
    shmaltzshmaltz
    Participant

    Thank you Peter, but I don't want the user to be able to clone the field and add new values. Would it be possible to just add a "Save as Array" toggle in the field settings? It would be very helpful if you can also add this to the multi-select field as well. This would make these fields much more flexible.

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.