Re: Datetime field displays value but can't be modified

Originally Posted by
EPMichael
Second problem I meet while trying to customise SugarCRM 5 CE. Thank you for your help.
For the Notes module I need to record the date and time for the action. This data could be modified by the user.
I added a new custom field - type date - with Studio. Then, following forum and wiki informations, I edited some files to force datetime type into database with vardefs.php.
What I can get :
- the date with calendar field showing only the date while field type is datetime. So I miss the time value.
- or, the datetimecombo field (with dropdown list javascript modified to select every minute and not only 1/4 hour) showing the date and time value. But it does not record the change made on drop-down hour and minute lists.
What I would like to obtain : a single field with date time ("YYYY/MM/JJ HH:mm") where we can change the value manually or through the calendar.
Is there a howto about this, or can you give me the recommended way to do this ?
Thanks;
I modified datetimecombo to replace the dropdown with a text box with time
let me know if this is of any use to you and I will attach the code
Mike Solomon
Development Manager
Ivy Ltd
www.ivy.ltd.uk]www.ivy.ltd.uk
php version 5.2.6
MySql 5.1.59
Bookmarks