'default_value' => 'toto',
'check_data' => array (
'alphanumeric' => array(
- 'params' => array('with_accents' => true),
+ 'params' => array('withAccents' => true),
'msg' => 'The first name must contain alphanumeric values only.'
),
),
function validate ($value,$options=array(),$formElement) {
- if (isset($options['params']['with_accents']) && $options['params']['with_accents'] == true){
+ if (isset($options['params']['withAccents']) && $options['params']['withAccents'] == true){
$regex = '/(*UTF8)^[0-9\p{L}]+$/';
}
else {