Version: CE 5.5
Module: Custom
Issue: I have defined a series of date fields in the vardefs, and editviewdefs that are not required, but when the user attempts to create a new record, or modify an old one all date fields in this module throw an error "Invalid Value for: [label]"
Sample Vardefs:
Sample EditviewDefs:PHP Code:'date_artwork_deadline' => array (
'name' => 'date_artwork_deadline',
'vname' => 'LBL_DATE_ARTWORK',
'type' => 'date',
'required'=>false,
'comment'=>'Custom date field.',
),
The database permits null, but I've also attempted to fill the field with a default value.PHP Code:array('name'=>'date_artwork_deadline'),
I have tried adding required => false to the edit view defs.
Any help or guidance would be much appreciated.


LinkBack URL
About LinkBacks



Reply With Quote


Bookmarks