Results 1 to 5 of 5

Thread: Enlarge fields on the edit layout

  1. #1
    lro
    lro is offline Junior Member
    Join Date
    Apr 2010
    Posts
    3

    Smile Enlarge fields on the edit layout

    Hi,

    We have some custom fileds in SugarCRM and they are vissible on the edit layout
    We heve te problem that te field can contain a maximum of 100 characters but when we go to te edit layout te edit een contact not all the information is vissible because the field is te small

    Is there a way to fix this problem and enlage the field in the layout so that all characters are vissible

    Thx

  2. #2
    DynamicFred is offline Sugar Community Member
    Join Date
    Jul 2007
    Posts
    19

    Default Re: Enlarge fields on the edit layout

    Are you using text field or text area when you define the field?

    If text area, you can define how many rows and columns you want the field to be.

    Fred

  3. #3
    ivit is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    187

    Default Re: Enlarge fields on the edit layout

    For text field you can use:
    PHP Code:
    'displayParams' => 
    array (
        
    'size' => 120,
    ), 
    for text area you can use::
    PHP Code:
    'displayParams' => 
    array (
        
    'cols' => 80,
        
    'rows' => 6,
    ), 

    Put the mentioned code in editviewdefs.php for the field in question.

  4. #4
    lro
    lro is offline Junior Member
    Join Date
    Apr 2010
    Posts
    3

    Default Re: Enlarge fields on the edit layout

    Thanks for your comment,

    Where can i put the code

    4 =>
    array (
    0 =>
    array (
    'name' => 'calendar_type_c',
    'label' => 'LBL_CALENDAR_TYPE',
    ),
    ),

    With kind regards

  5. #5
    lro
    lro is offline Junior Member
    Join Date
    Apr 2010
    Posts
    3

    Smile Re: Enlarge fields on the edit layout

    Thanks for your comment,

    Where can i put the code

    4 =>
    array (
    0 =>
    array (
    'name' => 'calendar_type_c',
    'label' => 'LBL_CALENDAR_TYPE',
    ),
    ),

    With kind regards

    Leo

    Quote Originally Posted by ivit View Post
    For text field you can use:
    PHP Code:
    'displayParams' => 
    array (
        
    'size' => 120,
    ), 
    for text area you can use::
    PHP Code:
    'displayParams' => 
    array (
        
    'cols' => 80,
        
    'rows' => 6,
    ), 

    Put the mentioned code in editviewdefs.php for the field in question.

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: 2007-02-07, 11:50 AM
  2. Replies: 1
    Last Post: 2007-02-06, 09:21 PM
  3. Cannot edit fields in Field Layout
    By jeg1972 in forum Help
    Replies: 7
    Last Post: 2006-06-13, 05:01 PM
  4. Replies: 0
    Last Post: 2005-12-01, 03:24 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
  •