You need to sign in to do that
Don't have an account?

if Custom Checkbox is checked when custom setting is requred
Hello guys
I have a custom checkbox field On Campaign object.
and a custom setting called ManageData__c with 4 fields.
While creating Campaign if this checkbox is checked I want to make sure custom setting ManageData__c 's fields are filled.
if ManageData__c 's fields is not filled then while creating campaign a form will appear where I can fill the ManageData__c's filleds
please help
thank you.
I have a custom checkbox field On Campaign object.
and a custom setting called ManageData__c with 4 fields.
While creating Campaign if this checkbox is checked I want to make sure custom setting ManageData__c 's fields are filled.
if ManageData__c 's fields is not filled then while creating campaign a form will appear where I can fill the ManageData__c's filleds
please help
thank you.
if this a heirachy Custom Setting then you can write a validation rule like this but if your custom setting setting is list type then you will have to write trigger on before insert.
Do let me know if you have any query.
P.S: Mark this as the best answer if this helped.
Thanks and Regards
Shubham Kumar
All Answers
if this a heirachy Custom Setting then you can write a validation rule like this but if your custom setting setting is list type then you will have to write trigger on before insert.
Do let me know if you have any query.
P.S: Mark this as the best answer if this helped.
Thanks and Regards
Shubham Kumar
Yup that's worked.
but how can I open a form where I can fill the custom setting fields