I am running Sugar 4.5.1i on SQL2005 with PHP 5.1
I added three custom fields to the 'edit view' of the Contacts module.
Spouse First Name
Spouse Last Name
Spouse Birthdate
I created "Spouse Birthdate" as a date field with default set to none.
I save and publish the 'page'. when I go in to enter a 'new' contact this field is populated automatically. Since this is new record, why is there a date populating when I told the system not to put in a date (format of the date is set for dd/mm/yyyy)
I've looked at EditView.php, DetailView.php and the relevant HTML pages in both /modules/contacts and in /custom.
What line can I modify (and where is the file located) to prevent the value of 31/12/1969 appearing in this custom field?
Many thanks.
PS. I should add that I still have the original default birthdate field on the form. This works perfect--does not show a date of any sort when you create a new contact, until you type one in or select from the calendar.


LinkBack URL
About LinkBacks




Reply With Quote
Bookmarks