Results 1 to 7 of 7

Thread: Tasks - make related to required

  1. #1
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Tasks - make related to required

    On Tasks I want' related to' as a required field

    I tried by changing modules/Tasks/vardefs.php

    and setting parent_id as 'required'=>true,

    But that had no effect

    Is it possible to this?

  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: Tasks - make related to required

    Hi, Mike.

    Clint had answered a similar question in another thread.
    Make a search.
    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
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Tasks - make related to required

    Quote Originally Posted by andopes
    Hi, Mike.

    Clint had answered a similar question in another thread.
    Make a search.
    It's well hidden then

    I did a search on required and came up with nothing

  4. #4
    heta's Avatar
    heta is offline Sugar Community Member
    Join Date
    Nov 2007
    Location
    Ahmedabad,India
    Posts
    214

    Default Re: Tasks - make related to required

    hi mikesolomon,

    you need to make parent_name as required too.

    and specify them into field_arrays.php as required_fields

    hope it helps
    Best Regards
    ---------------------------------------
    Heta Shah - iNET PROCESS
    heta.shah@inetprocess.com
    http://www.inetprocess.co.in
    Projects :
    iNETDocs -Project of the month(Dec-2008)
    iNETGoogleMap

  5. #5
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Tasks - make related to required

    Heta

    Thanks

    thats perfect

    changed field_arrays.php and it works perfectly 'required_fields' => array('name'=>1,'parend_id'=>1),

  6. #6
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Tasks - make related to required

    Just found a bug in this

    If you make parent_name required then type in some random text the ajax dropdown will tell you that there is no match but you are still able to save
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

  7. #7
    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: Tasks - make related to required

    Hi MIke

    Try to reproduce that issue in another clean installation. If you are able to reproduce so you can log another bug in bugs.sugarcrm.com.

    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. Replies: 6
    Last Post: 2008-01-18, 08:50 PM
  2. Replies: 5
    Last Post: 2007-12-05, 05:43 PM
  3. Replies: 1
    Last Post: 2007-02-21, 06:32 PM
  4. Make Account Name a required field
    By MORAND in forum Developer Help
    Replies: 6
    Last Post: 2006-07-20, 09:52 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
  •