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.

Individual custom fields for each checkmark

  1. tensegrity
    Member

    I'm wondering how to use checkboxes but so that each checkbox has its own custom field id. As it is right now 10 checkmarks would only have 1 custom field name, which makes it sort of pointless as I can't use the values in the checkboxes separately in the custom field options in wordpress.

    So for example checkboxes right now it's like this:

    Color: red/white/blue

    Then in the custom field options in wordpress it shows

    Color - Yes
    Color - Yes
    Color - Yes

    But what I need is this:

    Red - Yes
    White - Yes
    Blue - Yes

    Posted 12 years ago on Wednesday February 22, 2012 | Permalink
  2. How you are using it is not how it is designed to be used. If you are using the Custom Field configured as a Checkbox Field and you want each checkbox to have a different custom field name used, then you'd have to add a Custom Field for each individual checkbox.

    A Custom Field is a single field that may contain multiple checkboxes. It's still a single field and therefore is treated as such. The checkbox field type in this situation is for use when you have a single custom field name but multiple values.

    It's a single Custom Field, not multiple.

    If you need each checkbox to use a different custom field name to store the post meta data, you'd have to add multiple checkbox fields and add a field for each checkbox rather than configuring multiple checkboxes on a single field.

    Posted 12 years ago on Saturday February 25, 2012 | Permalink