- This topic has 8 replies, 2 voices, and was last updated 9 years, 5 months ago by
Steve.
-
AuthorPosts
-
-
August 30, 2012 at 4:09 pm #161
edburyMemberIs it possible to group fields in order to use add_more with them?
e.g. If I had a field group for “Giggles”, each one having a text input “Foo” and a datepicker “Bar”, and I wanted users to be able to add multiple entries as groups.
-
August 30, 2012 at 4:36 pm #162
SteveKeymaster@edbury– You can definitely do this, and we have an example in the Piklist Demos included with Piklist:
-PIKLIST > SETTINGS: activate and Save “Piklist Demos”
-A new Post Type is created, called “Piklist Demos”
-Click ADD NEWCheck out the FIELD GROUPS section. There is an ADD-MORE example I think should help you.
The path to the file that builds those fields is also listed in the meta box for your reference.
Also, please update to v0.6.1 which I just pushed to WordPress.org. While researching this for you I found a small bug, which we fixed.
-
August 30, 2012 at 4:46 pm #163
edburyMember@steve – Awesome, thanks. Looks like the syntax is super simple as well (not sure why I’d expect anything else from Piklist).
Semi-related: just updated to .6.1, looks like I can’t disable the Piklist demos from the admin panel.
-
August 30, 2012 at 5:14 pm #164
-
August 30, 2012 at 5:35 pm #166
edburyMember@steve – Yup. Multisite install.
It’s not a huge deal, just wanted to make sure I wasn’t missing something obvious.
-
August 30, 2012 at 5:43 pm #167
edburyMember@steve – just noticed that descriptions aren’t showing up for field groups with add_more (not in my own nor in the Piklist demo).
-
August 30, 2012 at 9:06 pm #168
-
August 30, 2012 at 11:05 pm #169
edburyMember@steve – The main field is the one I’m having trouble showing it with.
Here’s a link to my example on pastebin.
And the resulting screenshot.
The same thing is happening with the Piklist demo; description for the main field (with type = group), but no description showing up under the field.
-
August 31, 2012 at 9:55 am #170
SteveKeymaster@edbury– Thanks for the screenshot… I thought you were talking about metaboxes. 😉
We can definitely use your help here, since we are not sure where to place “descriptions” in field groups. Field groups are designed to be pretty flexible…. having multiple fields on one line. Where would you like to see the “description” displayed?
-
-
AuthorPosts
- You must be logged in to reply to this topic.