Form

legalCheck

Parameters

Variable Type Default Required
chekboxPosition string FWK/ViewHelpers/Form/Macro/LegalCheck::CHECKBOX_POSITION_BEFORE false
Available values

FWK/ViewHelpers/Form/Macro/LegalCheck::CHECKBOX_POSITION_BEFORE



FWK/ViewHelpers/Form/Macro/LegalCheck::CHECKBOX_POSITION_AFTER



showCheck bool true false

Example


{% import macrosCore.form as formMacros%}
{{ formMacros.legalCheck({
checkboxPosition: 'before',
showCheck: true
}) }}

Related

macros/modes/{{coreMode}}/form/legalCheck.html.twig

View Helper

FWK/ViewHelpers/Form/Macro/LegalCheck.php