[Vtigercrm-developers] Vtlib date field problem

Darjan Prtic dprtic at gmail.com
Sun Aug 22 12:16:00 PDT 2010


Hello all!

I have created date field for my custom module like this
=====
$field5 = new Vtiger_Field();
$field5->name = 'startdate';
$field5->label = 'Start Date';
$field5->uitype = 5;
$field5->typeofdata = 'D~O';
$field5->displaytype = 1;
$block2->addField($field5);
=====
why is this field in vtiger_my_custom_module not created as date column but
as Varchar? Am i doing something wrong or it is a bug in vtlib?

Thanks for your replies!
Darjan Prtic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20100822/dd040501/attachment-0002.html 


More information about the vtigercrm-developers mailing list