[TYPO3-dev] Formular Validierung unwirksam?
Ronny Hauptvogel
rh at level-pro.de
Tue Jul 21 14:00:43 CEST 2015
Hi,
ok validation for boolean property seems to be working with the following mark-up and definitions:
fluid:
<f:render partial="FormErrors" arguments="{field: 'step5data.disclaimer'}" />
<f:form.hidden property="disclaimer" />
<label><f:form.checkbox property="disclaimer" value="true" />disclaimer</label>
property:
/**
* disclaimer
*
* @var boolean
* @validate Boolean(is=true)
*/
protected $disclaimer = FALSE;
but if I check the checkbox and submit the form, then the disclaimer property is just false and don't takes over the "true" value :(
More information about the TYPO3-dev
mailing list