Results 1 to 3 of 3

Thread: Unusual problem with required fields

  1. #1
    tburns is offline Junior Member
    Join Date
    Jun 2009
    Posts
    4

    Default Unusual problem with required fields

    I'm running the Community Edition, 5.5.2. For some reason, the required fields for the Opportunites module (name, account name, date closed) have ceased to be required - it's possible to create a record with all of these blank.

    In addition, the Account Name field seems to have disappeared from the "fields" editor in Studio (although it is still present in the Edit, Detail, and List views).

    Operating system is Linux (2.6.33). Apache 2.2.15, PHP 5.2.13, MySQL 5.1.30.

    I would appreciate any suggestions. Thanks!

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: Unusual problem with required fields

    I presume you've been doing a lot of changes using Studio ... if you need to roll back you can goto studio>module>layout>layoutview>view history and roll back to a point in time or do the first four clicks and restore default

  3. #3
    tburns is offline Junior Member
    Join Date
    Jun 2009
    Posts
    4

    Default Re: Unusual problem with required fields

    I figured out what the problem was - it should perhaps be filed as a bug in SugarCRM.

    I had added some fields which had in the label a single quote (') used as an apostrophe for abbreviation (an "amount received to date" field, where "received" was abbreviated to "rec'd". The label is passed apparently unmodified to the addToValidate() function, so the single quote is interpreted as terminating that string, breaking the code...

    I actually noticed it when I opened up the javascript console to work on something unrelated.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Required fields
    By ysh in forum Developer Help
    Replies: 6
    Last Post: 2010-06-25, 11:50 AM
  2. Problem with Required Relate Fields - HELP!
    By erica26 in forum Developer Help
    Replies: 5
    Last Post: 2009-06-18, 11:27 AM
  3. Unusual Probelm with Custom Module
    By Nisbet in forum Developer Help
    Replies: 3
    Last Post: 2008-03-13, 07:37 PM
  4. Unusual install and error
    By bins in forum Help
    Replies: 0
    Last Post: 2006-09-13, 10:46 AM
  5. Replies: 1
    Last Post: 2006-04-04, 04:04 AM

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
  •