Results 1 to 3 of 3

Thread: Studio field (disabled 'Required field' option)

  1. #1
    serbanghita is offline Sugar Community Member
    Join Date
    Jan 2009
    Location
    Bucharest
    Posts
    42

    Post [fixed] Studio field (disabled 'Required field' option)

    In Studio i'm trying to modify the field 'title' in the 'Contacts' module. When i go to edit, i see that the 'Required Field' is disabled so i cannot check that input field and save the options. (see the attached screenshot).

    What custom file i have to edit to enable the field to be required?
    Thanks a lot!
    Attached Images Attached Images  
    Last edited by serbanghita; 2010-03-15 at 12:11 PM. Reason: the problem was solved
    SugarCRM PRO 6.2.4 (Build 6735)
    Apache 2.x, Linux flavour
    PHP 5.2.x, MySQL 5.x

  2. #2
    jsagar's Avatar
    jsagar is offline Sugar Community Member
    Join Date
    Mar 2008
    Location
    Ahmedabad,India
    Posts
    242

    Default Re: Studio field (disabled 'Required field' option)

    hi,
    you have to create a file in custom vardefs of contacts module:

    custom/Extension/modules/Contacts/Ext/Vardefs/<anyname>.php

    here you have to write:
    $dictionary["Contact"]["fields"]["<field name>"]["required"] = true;

    then you have to rebuild extension & database from admin panel.
    Best Regards
    ---------------------------------------
    Jaydeepsinh Sagar

  3. #3
    serbanghita is offline Sugar Community Member
    Join Date
    Jan 2009
    Location
    Bucharest
    Posts
    42

    Default Re: Studio field (disabled 'Required field' option)

    Thanks jsagar, that worked!
    SugarCRM PRO 6.2.4 (Build 6735)
    Apache 2.x, Linux flavour
    PHP 5.2.x, MySQL 5.x

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 13
    Last Post: 2010-12-03, 11:17 AM
  2. Replies: 2
    Last Post: 2010-03-17, 03:23 PM
  3. Replies: 2
    Last Post: 2008-03-18, 11:35 AM
  4. Replies: 7
    Last Post: 2007-07-13, 01:38 PM
  5. Set the 'Assigned to' field to a Required Field
    By MIConsultancy in forum Help
    Replies: 1
    Last Post: 2007-07-05, 08: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
  •