Results 1 to 4 of 4

Thread: Can we edit built-in field in the studio

  1. #1
    noppann is offline Sugar Community Member
    Join Date
    Aug 2007
    Posts
    27

    Default Can we edit built-in field in the studio

    In the studio, I see that we can create custom field as a dropdown.

    I want to do the same to some fields that already exist. For example, when creating a task, I would like the user to select task subject from a dropdown instead of type in a text box. Please advise me if this is possible or not.

    Thank you in advance,
    Noppann

  2. #2
    jli
    jli is offline Junior Member
    Join Date
    May 2005
    Posts
    109

    Default Re: Can we edit built-in field in the studio

    this is possible, but not without coding. you will have to change the vardef entry for the name field to be an enum rather than a varchar, and then associate a drop down with this field. you will then also have to modify the templates (and respective php files) to account for the display changes.

  3. #3
    noppann is offline Sugar Community Member
    Join Date
    Aug 2007
    Posts
    27

    Default Re: Can we edit built-in field in the studio

    Thanks for your respond. I don't want to modify the code unless it's necessary. Your reply really answer my question.

    Thank you so much,

    Noppann

  4. #4
    eli
    eli is offline Sugar Community Member
    Join Date
    Nov 2007
    Posts
    10

    Default Re: Can we edit built-in field in the studio

    noppann,
    Here is a possible solution let me know if it works for you.
    Open the module editor, create your custom drop down field for the subject of the tasks module and call it subjectmod (or whatever you like). Then edit the tasks module to not show the name field (it's label is subject) by dragging it to the deleted box on the left. Then drag your custom field into it's place adjust the field labels if needed, then save and publish. Make sure that you do this for each of the detail, edit, and view fields and for the search tabs if you wish.

    It's not really editing the field it's replacing it with your custom field.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Studio Edit Layout
    By danchua in forum Help
    Replies: 0
    Last Post: 2007-09-20, 08:24 AM
  2. Custom Field add not visible is Edit Layout
    By tylerpoint in forum Help
    Replies: 0
    Last Post: 2007-07-09, 05:56 AM
  3. Replies: 1
    Last Post: 2007-03-02, 06:14 PM
  4. Replies: 1
    Last Post: 2007-02-20, 07:31 AM
  5. Replies: 0
    Last Post: 2006-11-09, 03:04 PM

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
  •