Results 1 to 5 of 5

Thread: custom field - type = time

  1. #1
    kinshibuya's Avatar
    kinshibuya is offline A Sugar Hero
    Join Date
    Jul 2008
    Location
    brasil
    Posts
    521

    Default custom field - type = time

    I need to build a custom field with type = time, in studio i cant do that.

    can anyone help-me?

  2. #2
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: custom field - type = time

    Here's a wiki article I wrote on how to do this: http://www.sugarcrm.com/wiki/index.p...tom_Field_Type

    Please feel free to add to it.

  3. #3
    kinshibuya's Avatar
    kinshibuya is offline A Sugar Hero
    Join Date
    Jul 2008
    Location
    brasil
    Posts
    521

    Default Re: custom field - type = time

    Hey! thanks for the reply!

    i read the article and the first note worried me:

    "The time will not save correctly due to date formatting being handled in core code"

    what does this exacly means? will I have problems storing this data in the DB?

  4. #4
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: custom field - type = time

    Yeah, we had to eventually just use the datetimecombo field and add a datetime field type instead of timer to get something like this working.

  5. #5
    kinshibuya's Avatar
    kinshibuya is offline A Sugar Hero
    Join Date
    Jul 2008
    Location
    brasil
    Posts
    521

    Default Re: custom field - type = time

    ok. iŽll try to make this work somehow tks for the reply

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 2008-03-24, 11:44 PM
  2. Replies: 2
    Last Post: 2007-08-09, 07:44 AM
  3. Replies: 0
    Last Post: 2006-08-09, 07:59 AM
  4. custom field in Sugar OS 4.0 error!
    By bennn in forum General Discussion
    Replies: 3
    Last Post: 2006-01-24, 09:08 PM
  5. 1. custom field creation 2. Calender time slots
    By sugarcare in forum Developer Help
    Replies: 2
    Last Post: 2006-01-11, 07:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •