[Vtigercrm-developers] Set default start date and end date empty in events module

Alan Lord alanslists at gmail.com
Thu Sep 13 17:25:48 GMT 2018

On 13/09/18 00:49, Alexander Allen Z wrote:
> When I create a new event in vtiger 7 it shows by default start date = 
> now and end date = now + assigned time.
> I want to let both fields empty.  Could you please help me wich field I 
> have to change.

In older vtiger systems if you set the generatedtype (in vtiger_field) 
of a date field to "2" it would always open empty in new records. I've 
not tried it in v7 but it worked in v5 & v6.

BUT - the Calendar module is a bit weird and proprietary compared to 
other modules so you might run into other issues such as the Javascript 
routines which expect there to be a date value so when you change one 
the other changes... You'll need to test thoroughly.



More information about the vtigercrm-developers mailing list