I have a problem with formcheck and validation of a date in Italian format "DD/MM/YYYY"
during the validation I get the message
'Enter the date in the format "DD/MM/YYYY" '
i use:
Contao 2.11.3
formcheck "2.2.0 stable vers 6"
Printable View
I have a problem with formcheck and validation of a date in Italian format "DD/MM/YYYY"
during the validation I get the message
'Enter the date in the format "DD/MM/YYYY" '
i use:
Contao 2.11.3
formcheck "2.2.0 stable vers 6"
in the file moo_formcheck.html5 and moo_formcheck.xhtml
change
toCode:regexp : {
date: '<?php echo $strDateRegex; ?>',
datim: '<?php echo $strDatimRegex ?>',
time: '<?php echo $strTimeRegex ?>'
}
Code:regexp : {
date: <?php echo $strDateRegex; ?>,
datim: <?php echo $strDatimRegex ?>,
time: <?php echo $strTimeRegex ?>
}