PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Post Fields Custom Checkbox

  1. I've searched but can't find this. I know I'll fee dumb when you tell me... so thanks in advance!

    How do I get checkboxes on custom post fields? I see multiple choice just fine (even the tooltip mentions checkboxes), but I can't figure out how to get checkboxes.

    THANKS!!!

    Posted 12 years ago on Tuesday June 21, 2011 | Permalink
  2. Custom Fields do not currently support checkboxes. Custom Fields in Post Meta are single value fields. They consist of a Key/Name and a Value. It doesn't accept multiple values.

    We do plan on implementing an option to use Checkboxes. It will create multiple custom field values, each with the same name. So the person using this field will need to know how to display custom fields stored this way. It's more complex than single value custom fields. You have to loop through the custom fields using the same name and display them using a loop.

    So currently it isn't supported but it is a feature we plan on adding.

    Posted 12 years ago on Tuesday June 21, 2011 | Permalink
  3. dolphin278
    Member

    There is beautiful plugin - Advanced Custom Fields, that enables multiple checkboxes for custom post type fields. It would be awesome, if i could fill out these post types directly, without using hooks to transfer values from checkboxes control to the post itself. ;)

    Posted 12 years ago on Thursday September 8, 2011 | Permalink
  4. Gravity Forms v1.6 is currently available as a beta release and it does include the ability to use checkboxes with the Post Custom Field.

    Posted 12 years ago on Thursday September 8, 2011 | Permalink

This topic has been resolved and has been closed to new replies.