Results 1 to 6 of 6

Thread: Create custom field

  1. #1
    grossw is offline Member
    Join Date
    Jul 2006
    Posts
    9

    Default Create custom field

    Hello,

    my english is not very good. I need a drop down custom field with select account. so similarly as "Member of". can you help me with an tip.

    best regards
    Werner

  2. #2
    siotha is offline Member
    Join Date
    Sep 2007
    Posts
    6

    Default Re: Create custom field

    i dunno. Does this help?

    If you have access to the ADMin, then go to Studio, there you can customize some stuff. i've yet to figure out my problem.

  3. #3
    danchua is offline Member
    Join Date
    Sep 2007
    Posts
    7

    Default Re: Create custom field

    you can add a customer field at
    1. Admin > Studio > Edit Module > Select module that you want to add in the customer field > Edit Drop Down
    Add in your custom drop down here in advance
    2. Click on Continue Wizard > Edit Layout
    On your right hand side you will see Toolbox (if you didn't see means that you have hide it, click on the arrow button to
    un-hide it) now click on Add Custom Field add in your field and remember drag your field from the toolbox to the form

    Take note: you need to add in the field to every view that you wish it to be appear else you will see one view have this field but other don't

    Hope it help you

  4. #4
    youssefaoun is offline Sugar Community Member
    Join Date
    Apr 2007
    Posts
    55

    Default Re: Create custom field

    Hello,

    You have a more powerful way for doing what you want.

    Create a new module and in its manifest.php put:
    PHP Code:
    $installdefs = array(
    'language' => array(
            array(
                
    'from'=> '<basepath>/application/app_strings.php',
                
    'to_module'=> 'application',
                
    'language'=>'en_us'
            
    ),
    'custom_fields'=>array(
            array(
                
    'name' => 'school',
                
    'label' => 'School',
                
    'type' => 'varchar',
                
    'max_size' => 60,
                
    'require_option' => 'optional',
                
    'default_value' => '',
                
    'ext1' => '',
                
    'ext2' => '',
                
    'ext3' => '',
                
    'audited' => 0,
                
    'module' => 'Accounts',
            ),
            array(
                
    'name' => 'a_login',
                
    'label' => 'A Login',
                
    'type' => 'varchar',
                
    'max_size' => 25,
                
    'require_option' => 'optional',
                
    'default_value' => '',
                
    'ext1' => '',
                
    'ext2' => '',
                
    'ext3' => '',
                
    'audited' => 0,
                
    'module' => 'Contacts',
            ),
              array (
                
    'name' => 'account_type',
                
    'label' => 'Account Type',
                
    'type' => 'enum',
                
    'max_size'=>25,
                
    'require_option' => 'optional',
                
    'default_value' => '',
                
    'ext1' => 'aleks_account_type_dom',
                
    'ext2' => '',
                
    'ext3' => '',
                
    'audited' => 0,
                
    'module' => 'Accounts',
              ),
        )
    ); 
    In app_strings.php put

    PHP Code:
    $app_list_strings['aleks_account_type_dom'] = array (
        
    ''=>'',
        
    'School' => 'School',
        
    'District' => 'District',
    ); 
    Consider reading:
    http://www.sugarcrm.com/wiki/index.p...est_definition

    This could be helpful to start creating a combo list.

    I hope this helps
    Regards,
    Youssef AOUN
    Software Eng.

  5. #5
    grossw is offline Member
    Join Date
    Jul 2006
    Posts
    9

    Default Re: Create custom field

    thanks for your help, but I thougt of another field...I need a field that is the same as the field " Member of" like on the screenshot



    sincerley yours
    Werner

  6. #6
    manish.joshi is offline Sugar Community Member
    Join Date
    Mar 2007
    Posts
    33

    Default Re: Create custom field

    Dear Werner,

    You should check this out. This may help...

    http://www.sugarcrm.com/forums/showthread.php?t=7728

    Cheers!
    ________
    Design host
    Last edited by manish.joshi; 2011-04-30 at 11:15 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. upgraded to 4.5.1e, received "Metadata for table tracker does not exist"
    By sfgeorge in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-09-03, 02:24 PM
  2. Asterisk Patch 1.1.0 Crash on logon
    By skyracer in forum Help
    Replies: 6
    Last Post: 2006-07-08, 06:30 AM
  3. Replies: 7
    Last Post: 2006-06-06, 07:56 PM
  4. problem create employee custom field
    By wiwid in forum Help
    Replies: 6
    Last Post: 2006-01-20, 12:32 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
  •