Results 1 to 6 of 6

Thread: how to create custom field with many columns

  1. #1
    2nox is offline Member
    Join Date
    Feb 2009
    Location
    Indonesia
    Posts
    17

    Default how to create custom field with many columns

    hi all

    I was created module by module builder. but there i can't add field with many column, just 2 column. I want to create custom field with many column. how i can do that...
    Last edited by 2nox; 2009-04-21 at 11:27 AM.

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: how to create custom field with many columns

    Can you clarify your needs?
    It is not so clear.
    A mock up would be fine.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    2nox is offline Member
    Join Date
    Feb 2009
    Location
    Indonesia
    Posts
    17

    Default Re: how to create custom field with many columns

    I want to create field by custom code that have some field like this

    ----------------------------------------------------------------------------------
    quantity product list total
    -----------------------------------------------------------------------------------



    add line

  4. #4
    crmsiva's Avatar
    crmsiva is offline A Sugar Hero
    Join Date
    Jan 2009
    Location
    Chennai, India
    Posts
    1,130

    Default Re: how to create custom field with many columns

    Check the folder "include/SugarFields/Fields/Address" . You need to create a custom field type like this.

  5. #5
    2nox is offline Member
    Join Date
    Feb 2009
    Location
    Indonesia
    Posts
    17

    Default Re: how to create custom field with many columns

    Thanks Mr crmsiva,

    I already open that folder, but i haven't understood the functions. would u like to explain to me about how to create some custom field by custom code from begining until the end. I have created a modul from module builder n i want add custom field in there. thanks before




    Regard,

  6. #6
    2nox is offline Member
    Join Date
    Feb 2009
    Location
    Indonesia
    Posts
    17

    Arrow Re: how to create custom field with many columns

    hi,
    I have tried to create text field by custom code. i add code in custom/module/{my module)/metadata/editviewdefs.php. i will try to enter some data but i can't save the value of text field that already i created. n how to change the size (width)?.

    4 =>
    array(
    0 =>
    array(
    ' name' => ' quantity ',
    ' label ' => ' LBL_QUANTITY',
    'customCode' => '<input type='text' name='qty' width='10'>',
    ),
    ),
    Last edited by 2nox; 2009-04-24 at 08:34 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. how do i create a custom field without using studio?
    By schnagga in forum Developer Help
    Replies: 3
    Last Post: 2008-05-30, 07:51 AM
  2. Create custom field
    By grossw in forum Help
    Replies: 5
    Last Post: 2007-09-21, 01:22 PM
  3. Create a custom field
    By youssefaoun in forum Help
    Replies: 2
    Last Post: 2007-05-30, 07:09 PM
  4. Replies: 2
    Last Post: 2006-03-20, 12:46 AM
  5. Replies: 2
    Last Post: 2005-04-21, 06:53 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
  •