Support

Account

Home Forums General Issues Retrieve value / description not slug from option list

Solved

Retrieve value / description not slug from option list

  • Hi, in backend I definded a custom field, say “category”. This may be filled through an select list / option list (only one value possible). I defined the option list like suggested e.g.:
    red : Red colour
    blue : Blue colour
    When I display the chosen value with the_field(‘category’) it always shows the slug, like “red”. But I want to display the value “Red colour”.
    How can I achieve this?

  • There is a setting for “Return Format”
    The “Value” is on the left side of ” : ” and the label is on the right

  • Woderful, thanks a lot!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.