Learn

Select

The select fieldtype respects the option parameter, allowing you to set a list of possible default values for the user to pick from.

dinner:
  display: Dinner Choices
  type: select
  options:
    - Beans
    - Fish
    - Tree Bark
    - Elk

You can customize the value and label separately by using named keys, as shown below:

dinner:
  display: Dinner Choices
  options:
    beans: Baked Beans
    fish: Delicious Bass
    bark: Redwood Bark
    elk: Reindeer

This article was last updated on September 13th, 2016. Find an error? Please let us know!