Hey,
Having a problem when converting a lead to opportunities. The custom date fields show up and i select the appropriate date and click on convert. but in the database it resets all the dates to 2000-01-01.
So i went to Leads.php and edited the following: (this is under the elseif($value['type'] == 'date' ))
from:
....ifFormat : 'Y-%m-%d', showsTime : false, button : 'jscal_trigger".$field."'........
to:
....ifFormat : '%d/%m/%Y', showsTime : false, button : 'jscal_trigger".$field."'........
it now did save the correct date but it would save it randomly. so i have several date fields and if all are filled in it would pick one or two random ones and fill them in (in the database) and the rest will have the value of 0000-00-00
any one know what the problem is?


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks