Fields with array in id not being saved

Support General Fields with array in id not being saved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12368
    RODRIGO A VIEIRARODRIGO A VIEIRA
    Participant

    I want to replace the Meta boxes of my JNews Theme and I can not create fields with array in the id because the data is not saved.

    Field id: jnews_single_post[via_name]

    When I Inspect the Metabox inputs of my theme, they are exactly like this (input name):

    <input type="text" name="jnews_single_post[via_name]" class="vp-input input-large" value="">

    #12388
    Anh TranAnh Tran
    Keymaster

    Hi,

    To use array in ID, it's better to use the MB Group. This issue is not only about the HTML output, but also the data saved in the database. I guess you want an array of values, so Group is exactly that.

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