ISSELECTED

Checks whether a given choice is selected for a choice field or classification field

Parameters

value * (required) - The choice field, classification field to check for a value being selected

choice String (required) - The choice value to check for

Returns

Boolean

Examples

// $choice_field has Red, Green, and Blue selected
ISSELECTED($choice_field, 'Red')

// returns true
// $choice_field has Red, Green, and Blue selected
ISSELECTED($choice_field, 'Orange')

// returns false