Hello all,
I'm extending the tl_member (backend) and its working fine,
i added my own rgxp thats working.
Only when i add in the eval it wont load the field.
It save's the field in the database but when i look at a member (backend) it wont load, its empty.
When i remove the the field is loading.
Am i missing something?
Here is the code of my field.
Code:
$GLOBALS['TL_DCA']['tl_member']['fields']['bsn_nummer'] = array
(
'label' => &$GLOBALS['TL_LANG']['tl_member']['bsn_nummer'],
'exclude' => true,
'inputType' => 'text',
'eval' => array('mandatory'=>true, 'encrypt'=>true, 'unique'=>true, 'rgxp'=>'bsn', 'minlength'=>9, 'maxlength'=>9, 'feViewable'=>true, 'feGroup'=>'personal', 'tl_class'=>'w50'),
'sql' => "varchar(9) NOT NULL default ''"
);
Bookmarks