Results 1 to 6 of 6

Thread: Making fields required

  1. #1
    Fay
    Fay is offline Senior Member
    Join Date
    Jul 2009
    Posts
    35

    Default Making fields required

    Hi,

    Sorry another quick question.

    I am trying to make probability a required field but it doesn't seem possible.

    Anyone have any ideas?

    Thanks

  2. #2
    crmbalah is offline A Prolific Poster
    Join Date
    Mar 2009
    Location
    chennai
    Posts
    418

    Default Re: Making fields required

    Hi
    try to set the required attribute

    Code:
    array (
                  'required' => true,
                ),

  3. #3
    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: Making fields required

    Remember to Quick Repair and Rebuild

    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.

  4. #4
    Fay
    Fay is offline Senior Member
    Join Date
    Jul 2009
    Posts
    35

    Default Re: Making fields required

    do you mean clone it? Below is what come up after I select Clone....what else would I have to do? Thanks..

    Data Type:Integer
    Field Name:
    Display Label: Probability (%):
    System Label: LBL_PROBABILITY
    Help Text:
    Comment Text:
    Default Value:
    Min Value:
    Max Value: 100
    Max Size11
    Disable Format:
    Required Field:
    Audit: tick
    Importable: Yes
    Duplicate Merge: Disables

  5. #5
    leowolff is offline Sugar Community Member
    Join Date
    Apr 2009
    Posts
    126

    Default Re: Making fields required

    Its not something you will do in studio, you must edit the files editview.php on the custom/module that you want to force it.

    If its a new field you can configure it in the studio, otherwise must be chnged in the editview files.
    Regards,

    SugarCRM CE v.5.2.0c
    Windows platform
    MySQL v.5.0.37
    phpMyAdmin - 2.11.2.2
    Apache Server v.2.0

  6. #6
    Fay
    Fay is offline Senior Member
    Join Date
    Jul 2009
    Posts
    35

    Default Re: Making fields required

    Quote Originally Posted by leowolff View Post
    Its not something you will do in studio, you must edit the files editview.php on the custom/module that you want to force it.

    If its a new field you can configure it in the studio, otherwise must be chnged in the editview files.
    It is the existing probability field, do you know where I would go to edit the file.
    Last edited by Fay; 2009-07-30 at 09:46 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 8
    Last Post: 2009-04-13, 04:29 AM
  2. Making fields as a required field
    By dinudanial in forum Developer Help
    Replies: 3
    Last Post: 2009-04-03, 05:12 AM
  3. Replies: 0
    Last Post: 2008-10-21, 07:04 PM
  4. Making fields clickable
    By Jamman960 in forum Help
    Replies: 1
    Last Post: 2006-03-07, 03:00 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
  •