Add Choices

The Add Choices property of the Select field enables you to enter the options that will be visible to the content managers as choices to select from.

Warning: If you change the data type after entering the choices, the values added as choices may be lost.

You can add choices within the Select field in two ways:

  • Single-value choices: You can add options containing simple values, for example, in eCommerce, let someone pick a shirt size from XS, S, M, L, or XL.Select_1.png
  • Key-value pair choices: You can enable the Key-value pairs option and add key-value pairs separated by a colon (:). Every choice is separated by a comma.

    Note: Only the key name is displayed in the entry page.

    For example, we might want to specify the state code for a state while defining choices in a government website, so we can specify key-value pairs such as New York : NY.Select_2.png

Note: You can add up to 100 options that are up to 100 characters long.

After you configure this property in your content type and create an entry, you will see your entry page as follows:

Select_4.png

Was this article helpful?

Thanks for your feedbackSmile-icon

On This Page

^