required validation requires checkbox input field text password textarea length option checked
required validation
- For an inputText, inputHidden, inputPassword, textarea field it
examines if the length of the input field is not zero without the
trailing and leading whitespace.
- For an inputCheckbox, it requires the checkbox to be checked
- For an inputRadio or a multiple select,
it requires at least one option to be selected
Possible parameters:
'validation' => Array(
Array(
'type' => 'required'
)
)