Hi,
I want to create leads without last name as compulsory field. Presently Last name is compulsory field in my leads.Please assist me,from where I have to make changes.
Thanks in advance..
Hi,
I want to create leads without last name as compulsory field. Presently Last name is compulsory field in my leads.Please assist me,from where I have to make changes.
Thanks in advance..
hi...
see this link..
http://www.sugarcrm.com/forums/showthread.php?t=46267
all the best
Regards
==========================
akkimca
Work as Sugarcrm Freelancer
Feel free to Find me in skype. Its my pleasure to talk with you.
ID: akshay.biztech
Hi,
You have to write the extension version of Vardefs in Leads and write the following code :
$dictionary['Account']['fields']['last_name']['required'] = false;
Best regards,
SARFARAZ AHMED KHAN
Karachi, Pakistan
skype: genius_crystal
genius_crystal@hotmail.com
92-314-2595624
Hi,
Its not working with the code yet.Please guide me to got the solution.
Thanks in advance...
Hi,
I am in so much of problem.No one is there to help me out.I am going through it from last 4 days but still not get appropriate solution for it.Please help me .
Thanks in advance..
Did you go to Admin -> Repair -> 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.
Here is how I did it. First you make a copy of the "VarDefs" file under Modules/Leads/.
Add the line:
$dictionary['Leads']['fields']['last_name']['required'] = 'false';
Now, save this new file under "custom/Extension/modules/Leads/Ext/VarDefs/filename"
filename can be whatever you want.
Next, find the file "modules/Leads/metadata/editviewdefs.php"
about line 81 you will find this entry:
array (
array('name'=>'last_name',
'displayParams'=>array('required'=>true),
),
'phone_mobile',
),
change "true" to "false"
rebuild the Leads module and you should be OK.
RJ
Hi,
Thanks for the info.
Can this also be done with other modules?
Thanks.
I've done it with accounts, leads and contacts. So far no problems
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks