How to use: Dropdown Select Field

File Selection field has 6 options

1/ Choices: Enter each choice on a new line. For more control, you may specify both a value and label like this:

  • opt1 : Option 1
  • opt2 : Option 2

2/ Default Value: Enter each default value on a new line, multiple default value works for multi-select only.

3/ Allow Null: Auto add “-Select-” option, user can leave for not choosing any option

  • Yes
  • No

4/ Select multiple values?: Allow user to select multi values

  • Yes
  • No

5/ Stylized UI: Yes for using select2 JS select

  • Yes
  • No

6/ Return Value: What value get_field/the_field function will return

  • Value
  • Label
  • Both (array)


Was this article helpful?

Related Articles

Leave A Comment?

4 + 5 =