Hi!
I'm trying to make a field required i'm adding this lines to /custom/Extension/modules/Notes/Ext/Vardefs/myfile.php
$dictionary['Note']['fields']['accounts_notes_name']['required'] = true;
I do repair and rebuild but it doesn't work, any ideas?
Hi!
I'm trying to make a field required i'm adding this lines to /custom/Extension/modules/Notes/Ext/Vardefs/myfile.php
$dictionary['Note']['fields']['accounts_notes_name']['required'] = true;
I do repair and rebuild but it doesn't work, any ideas?
Priscila Kin Yamamoto Joranhezon
Phone: +55 61 32010000
priscila.joranhezon@nct.com.br
NCT Informática Ltda
Hi Priscila
You just need to add the attribute
Into field def at editviewdefs.phpPHP Code:'displayParams' => array(
'required' => true,
),
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.
I'm jumping in here I need to make a field that is required not required. The field is account name in the Opportunity module. I tried to simply make a custom metadata editviewsdefs.php to set required as false that hasn't worked I tried to create a custom file to override the vardefs entry for account_name in the vardefs.php of the Opportunity same as above but replacing my feilds for his but that didn't work
Any idea how I to do this when the field is not created in aooportunity??
Rgds
Chris
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.
Hi,
Ya I tried Repair it, the only way I could get it to work was if I edited the vardefs in /modules/Opportunities/
When I create the custom file for the vardefs override what must it be called or can it be anything? I have it placed in /custom/....../Ext/Vardefs and I called it vardefs.ext.php
Rgds
Chris
Priscila Kin Yamamoto Joranhezon
Phone: +55 61 32010000
priscila.joranhezon@nct.com.br
NCT Informática Ltda
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks