| Name | Type | Description |
| is_valid | Boolean | True if one of the defined options is selected |
| value | String | The selected value |
| selection | String | The text from the selected value |
| default_value | String | The default value for this field if no value is specified |
| field_id | String | The identifier for this field |
| label | String | The label for this field |
| output | String | The text from the selected value. May include additional markup in the editor preview to make it easier to edit content |
Stores the selected value from a list of radio inputs
Should be used to display a radio field inside a form.
| Name | Type | Description |
| is_valid | Boolean | Will always be true |
| type | String | Will always be "radio" |
| items | object | A dictionary containing all of the options and their values to be included in the template, where the keys are the value to be stored and the values are the text to be displayed |
| options | String | The raw and un-parsed options for the radio field |
| delimiter | String | The string that is used to distinguish one option from another in the raw options property |
| value_delimiter | String | The string that should be used to distinguish the value for each option from the text to be displayed, where the value is to the left of value_delimiter and the text is to the right. Any options that do not contain the value_delimiter will use the full option as both the text and the value |
| count | Integer | The number of options in this radio field |
| default_value | String | The value of the radio option that should be selected by default when this form is displayed |
| map_to_attribute | String | If the user is signed into a profile when they submit this form and map_to_attribute is set, the profile attribute specified in map_to_attribute will be set to the value of this field. This should also be used to override the default value if the user is signed into a profile and the specified attribute has already been set |
| required | Boolean | Will be true if the user is required to select one of the radio options |
| required_message | String | The message to display when the user attempts to submit the form without selecting a radio option |
| element_id | String | A helper property containing a unique ID for this field on this instance of this form. This value should be different every time the form is output |
| subtext | text | Help or hint text to display together with the field |
| condition | condition | The condition that should be used to show and hide this form field |
| classname | String | CSS class name(s) to be applied to the field |
| field_id | String | The identifier for this field |
| label | String | The label for this field |
| output | String | Default HTML markup for this radio field, which makes a number of assumptions about other elements on the page that may or may not be included. Developers should avoid using the default output in order to guarantee that forms work as expected, including styling, validation, conditionals, and more. May include additional markup in the editor preview to make it easier to edit content |
Radio Button Value
CopyPrizes are given away {{ entity.prize_frequency }}
{% endunless %}