#set($responseIdentifier = $r.responseUniqueId($interaction))
#if($r.isInvalidResponse($interaction.responseIdentifier))
#if($interaction.minChoices == $interaction.maxChoices && $interaction.minChoices > 0) You must select $interaction.minChoices #if($interaction.minChoices == 1) choice #else choices #end #else You must select #if($interaction.minChoices > 0) at least $interaction.minChoices #if($interaction.maxChoices > 0) and #end #end #if($interaction.maxChoices > 0) at most $interaction.maxChoices #end choices. #end
#end #set($visibleOrderedChoices = $r.getVisibleOrderedSimpleChoices($interaction)) #if($r.getOrientation($interaction.orientation) == "horizontal") #if($interaction.getPrompt())
$r.renderPrompt($interaction.getPrompt())
#end #foreach($simpleChoice in $visibleOrderedChoices)
#end $r.appendFlexiFormDirtyForCheckbox("oo_$r.toString($simpleChoice.identifier)") #if(!$r.classContains($interaction,"choiceright")) $r.renderFlowStatics($simpleChoice.getFlowStatics()) #end
#end #else #if($interaction.getPrompt()) #end #if($interaction.getLabel() && !$interaction.getLabel().isEmpty()) #end #foreach($simpleChoice in $visibleOrderedChoices) #if($r.classContains($interaction,"choiceright")) #end #if(!$r.classContains($interaction,"choiceright")) #end #end
$r.renderPrompt($interaction.getPrompt())
$r.subStringBefore($interaction.getLabel(),"|") $r.subStringAfter($interaction.getLabel(),"|")
$r.renderFlowStatics($simpleChoice.getFlowStatics()) $r.appendFlexiFormDirtyForCheckbox("oo_$r.toString($simpleChoice.identifier)") $r.renderFlowStatics($simpleChoice.getFlowStatics())
#end