How to use: Radio 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/ Other: Add “other” option, user can input the custom value there

  • Yes
  • No

5/ Layout: How options will be displayed

  • Horizontal
  • Vertical

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?

+ 53 = 54