Results 1 to 6 of 6

Thread: Extra fields are appearing in Edit mode

  1. #1
    callumd is offline Senior Member
    Join Date
    Mar 2010
    Posts
    38

    Default Extra fields are appearing in Edit mode

    Hi there,

    When I edit a Contacts record, fields are displayed that are nowhere to be seen in the Edit Layout. The fields are City, State, Postcode and Country. How do I get rid of them so they don't appear when I go to edit a Contacts record? To repeat, in the Edit Layout, these fields appear neither in the Layout nor the Toolbox. So WHY are they showing up when I go to edit a Contact?

    Thanks in advance.

  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: Extra fields are appearing in Edit mode

    Can you provide a screen shot of EditView of Contacts module? And clarify exactly what you want to do?

    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
    callumd is offline Senior Member
    Join Date
    Mar 2010
    Posts
    38

    Default Re: Extra fields are appearing in Edit mode

    Unfortunately I can't provide the screen shot, but this might offer a clue:

    I am using the field "Primary address" which I thought was a single field. But Is this some sort of special field that automatically pulls in a city, state and postcode?

  4. #4
    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: Extra fields are appearing in Edit mode

    Exactly.

    I requested the screen shot to make sure that.
    You can do the following:
    • Edit the script custom/modules/Contacts/metadata/editviewdefs.php
    • Look for "primary_address_street" and remove the attribute "type";


    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.

  5. #5
    callumd is offline Senior Member
    Join Date
    Mar 2010
    Posts
    38

    Default Re: Extra fields are appearing in Edit mode

    I have temporarily resolved the problem by creating an entirely new text field for the street address, but can someone please explain what is going on here?

    Why do the Details and Edit Layouts of the *same module* sometimes show a different set of fields? I'm talking about the full set of available fields in each layout, whether they appear in the Toolbox or on the Layout. Why are these not exactly the same, 100% of the time? (Again, I am not referring to the difference in the positioning of these fields, but simply which fields are available). Eg, "Primary Address Street" shows up as an available field in my Edit Layout for Contacts, but is nowhere to be found in my Details Layout for the same module. It is neither in the Toolbox nor the Layout.

    Secondly, why are some of the fields that show up in the Layouts for Contacts, nowhere to be seen when you go to Admin-> Studio -> Contacts -> Fields? *Where are these fields*, and where can I configure them?
    Last edited by callumd; 2010-03-10 at 12:35 AM.

  6. #6
    callumd is offline Senior Member
    Join Date
    Mar 2010
    Posts
    38

    Default Re: Extra fields are appearing in Edit mode

    Thanks for pointing me to that directory, andopes.

    Any idea why the Edit and Detail Layouts have different available fields?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. disable edit mode in Dashlet
    By lukio in forum Developer Help
    Replies: 3
    Last Post: 2010-08-20, 04:35 AM
  2. Fields are not appearing on the Edit View page...
    By mcharudatta in forum Developer Help
    Replies: 0
    Last Post: 2009-07-31, 10:59 AM
  3. Extra fields on a many-to-many relationship
    By craigw9292 in forum Developer Help
    Replies: 3
    Last Post: 2008-07-01, 01:17 PM
  4. Replies: 2
    Last Post: 2006-12-15, 03:00 PM
  5. Question about extra fields
    By summitsys in forum Help
    Replies: 1
    Last Post: 2006-07-27, 06:31 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
  •