Hi,
In Studio when i go to the Leads module and disable the e-mail field to be a required field it is immediately turned back on again when i save it. Why is this happening and how can i disable this?
Hi,
In Studio when i go to the Leads module and disable the e-mail field to be a required field it is immediately turned back on again when i save it. Why is this happening and how can i disable this?
Hi
Its a cache problem. First go to leads in studio click email1 then untick required then save and deploy.
Once your page reloads it will show as ticked in required just cancel. Then repair rebuild.
Now email is not mandatory.
Cheers
Thanks for the swift reply, for the Contacts module i was able to disable it but not for the Leads module, no matter how many times i do a quick repair.
For the leads module also do it slowly first time u disable then when the page reloads click cancel then repair.
No, it still won’t disable that checkbox. Once i save it, repair and check again it’s turned on again. Maybe it has to do with relationships?
It may be hardcode. go to custom/module/leads/vardef/ and check wat is the value of required for email.
I suppose you mean this file custom/modules/Leads/Ext/Vardefs/vardefs.ext.php
I have two occurences of the email field in there:
// created: 2017-03-29 12:52:03
$dictionary[‘Lead’][‘fields’][‘email1’][‘required’]=false;
$dictionary[‘Lead’][‘fields’][‘email1’][‘inline_edit’]=’’;
$dictionary[‘Lead’][‘fields’][‘email1’][‘merge_filter’]=‘disabled’;
and
$dictionary[‘Lead’][‘fields’][‘email1’][‘required’] = true;
I changed this last one to false, did a repair, but it’s still required!
It may be due to cache error. Rename the cache folder and then repair rebuild. u will get new cache folder give all necessary permissions and again do a repair and rebuild. It will work.