Results 1 to 5 of 5

Thread: Creating Custom Lead Field for EMail

  1. #1
    sdwebguy is offline Member
    Join Date
    Feb 2009
    Posts
    11

    Question Creating Custom Lead Field for EMail OR adding default value to email2 field

    Can someone help me with linking a newly created custom email field so it uses the sugar email program just like the default email1 and email2 links? The new custom email field i created in studio uses the mailto: feature and opens up my outlook. Which php file do i need to modify and what do i need to include? I am using CE 4.5.1h. Thanks.
    Last edited by sdwebguy; 2009-02-15 at 10:24 PM. Reason: updated subject info

  2. #2
    dlorenzetti's Avatar
    dlorenzetti is offline Sugar Community Member
    Join Date
    Jan 2008
    Location
    São Paulo, Brasil
    Posts
    189

    Default Re: Creating Custom Lead Field for EMail

    Hello,

    Take a look in include/SugarEmailAddress/* there are the files that you need.

    In function getEmailAddressWidgetEditView() for example you can see how Sugar build the field to EditView, and the templates is in the templates folder.
    Diego Lorenzetti
    Lampada Global Services - Open Source Solutions
    Phone: +55 11 3237-3110
    Email: equipe@lampadaglobal.com
    Site: www.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.

  3. #3
    sdwebguy is offline Member
    Join Date
    Feb 2009
    Posts
    11

    Question Re: Creating Custom Lead Field for EMail

    Thanks for the reply. There is no such email directory or email file within the include folder that you referenced.

    Also, would anyone happen to know how I can add as a default value to the email2 field so it automatically includes @somethinghere.com? I tried adding this as a default in the database for leads, contacts, accounts, and etc... database fields but nothing appears. Is there a php file that needs to have this added to? Thanks.

  4. #4
    sdwebguy is offline Member
    Join Date
    Feb 2009
    Posts
    11

    Default Re: Creating Custom Lead Field for EMail

    Any help on this would be greatly appreciated.

  5. #5
    SugarTalk.net is offline Junior Member
    Join Date
    Dec 2011
    Posts
    7

    Default Re: Creating Custom Lead Field for EMail

    Hi.
    You can use MultiPhoneField and add any attributes for fields module for this task

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 2011-10-12, 01:37 AM
  2. Replies: 1
    Last Post: 2010-04-26, 02:38 PM
  3. Replies: 4
    Last Post: 2008-10-21, 12:58 PM
  4. Lead Notification Email - Add custom field
    By sinkplaat in forum General Discussion
    Replies: 2
    Last Post: 2008-02-22, 04:14 PM
  5. Creating custom field
    By vcetinick in forum Help
    Replies: 1
    Last Post: 2007-11-16, 09:22 AM

Tags for this Thread

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
  •