- This topic has 3 replies, 2 voices, and was last updated 7 years, 1 month ago by
egamipeaks.
Viewing 3 reply threads
-
AuthorPosts
-
-
December 16, 2014 at 8:22 pm #3106
egamipeaksMemberWhen creating nested groups here, the settings start getting mangled up and showing up in the wrong place… any thoughts?
piklist( 'field', array( 'type' => 'group', 'label' => 'Ad Slots', 'field' => '_ad_unit_ad_slots', 'add_more' => true, 'fields' => array( array( 'type' => 'text', 'field' => 'slot_id', 'label' => 'Slot ID', 'columns' => 12, 'description' => 'The slot name', ), array( 'type' => 'select', 'field' => 'default_size', 'label' => 'Default Ad Size', 'columns' => 12, 'choices' => array( 'option1' => 'Option 1', 'option2' => 'Option 2', 'option3' => 'Option 3') ), array( 'type' => 'group', 'field' => 'viewport_sizes', 'add_more' => true, 'fields' => array( array( 'type' => 'select', 'field' => 'viewport_size', 'label' => 'Viewport Size', 'columns' => 12, 'choices' => array( 'option1' => 'Option 1', 'option2' => 'Option 2', 'option3' => 'Option 3') ), array( 'type' => 'checkbox', 'field' => 'ad_sizes', 'label' => 'Ad Sizes', 'value' => '', 'columns' => 12, 'choices' => array( 'option1' => 'Option 1', 'option2' => 'Option 2', 'option3' => 'Option 3') ) ) ) ) )); -
December 17, 2014 at 11:24 am #3112
egamipeaksMemberAny thoughts here? Is this a bug?
-
December 17, 2014 at 2:38 pm #3116
SteveKeymaster@egamipeaks– Looks like a bug when you use Checkboxes in an advanced grouped add_more. Might not be a quick fix, so I suggest you choose another field configuration.
-
December 17, 2014 at 2:50 pm #3117
egamipeaksMemberThanks — I think at this point I’m going to have to choose another tool — this is the 3rd or 4th bug I’ve had to wrestle with… good luck though.
-
-
AuthorPosts
Viewing 3 reply threads
- The topic ‘Nested groups problems’ is closed to new replies.