Custom Fields
Re-Envisioned
Support Meta Box Group Stacking / Nesting Elements

This topic contains 2 replies, has 2 voices, and was last updated by  @mindspark 2 months, 2 weeks ago.

  • Creator
    Topic
  • #14371
    Resolved
    @mindspark
    Participant

    Hi again. I didn’t get an answer to my question yesterday, and now I have a slightly different question….

    I want to stack / nest fields in a custom field group. can I do these configurations or will I get problems?

    OPTION #1

    
    Tab 1 = Tab option at top of input form
    
    Group 1 = First grouping of fields
         Text 1 = General text entry
         Text 2 = General text entry
         Text 3 = General text entry
    
    Group 2 = Second grouping of fields, Inside Group 1
      Select 1 = Options list
      Select 2 = Options list
      Select 3 = Options list
    
    Group 3 = Third grouping of fields
    Text Area
    

    OPTION #2

    
    Tab 1 = Tab option at top of input form
    
    Group 1 = First grouping of fields
         Text 1 = General text entry
         Text 2 = General text entry
    
    Tab 2 = Left aligned tab 1
          Text 3 = General text entry
          Text 4 = General text entry
          Text 4 = General text entry
    
    Tab 3 = Left aligned tab 2
          Select 1 = Options list
          Select 2 = Options list
          Select 3 = Options list
    
    Group 2 = Second grouping of fields
          File Upload 1 = General file
          File Upload 2 = Image file
          File Upload 3 = General file
    
    Group 3 = Third grouping of fields
    Text Area
    

    Example of what I want to create using Metabox:

    https://snag.gy/gOzNCp.jpg

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #14372

    Anh Tran
    Keymaster

    Hi Neil,

    You can put groups inside groups without problems. Group supports nesting to unlimited levels.

    However, tabs are not nesting. So you need to use only one tab style, either on top or left.

    #14388

    @mindspark
    Participant

    Thanks for the clarification Anh!

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.