Results 1 to 2 of 2

Thread: How to create Account type mandatory

  1. #1
    chetanvalueone is offline Senior Member
    Join Date
    Dec 2008
    Posts
    27

    Default How to create Account type mandatory

    Hi all,

    i am confused here, i want to create Account Type mandatory fields but i am unable to do that.

    please help me out

    thanks & regards,
    chetan

  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 Account type mandatory

    Hi Chetan

    Edit the file custom/modules/Accounts/metadata/editviewdefs.php and add the code:

    PHP Code:
    'displayParams' => array(
        
    'required' => true,
    ), 
    Into account_type field defs.

    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Account mandatory while converting Leads
    By authenticjay in forum Help
    Replies: 1
    Last Post: 2008-11-07, 04:36 PM
  2. How to create new module of Documents type
    By rma in forum Developer Help
    Replies: 2
    Last Post: 2008-09-26, 07:01 AM
  3. Replies: 4
    Last Post: 2008-07-12, 02:23 AM
  4. need help to create custom datetime data type
    By sslhbala82 in forum Developer Help
    Replies: 0
    Last Post: 2008-06-20, 03:07 PM
  5. How do I add New Record Type to Quick Create?
    By rellianceus in forum Help
    Replies: 6
    Last Post: 2007-06-13, 03:03 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
  •