You need to sign in to do that
Don't have an account?
Peter Russell 9
How to make a lead field compulsory when converting to opportunity
Hi,
I would like to know how I can make a field on the lead screen compulsory when converting to an opportunity?
The method of making a field compulsory on just the lead screen wont work. Ideally, when convert is pressed, it will reject the conversion until the field has been selected (dropdown list).
Thanks,
Peter
I would like to know how I can make a field on the lead screen compulsory when converting to an opportunity?
The method of making a field compulsory on just the lead screen wont work. Ideally, when convert is pressed, it will reject the conversion until the field has been selected (dropdown list).
Thanks,
Peter
You can use validation rule to make field required for converting leads.
See example of validation formula
Thanks for the response. I am receiving an error "Error: Field Customer_Disposition__c is a picklist field. Picklist fields are only supported in certain functions."
Would it just be a case of changing ISBLANK to Not Equal To 'Value 1' 'Value 2' etc? Where value equals the options in the picklist?
If so, what would the code be for this?
Thanks,
Peter
Thank you. It works when amending the fields of the lead but not when converting - sometimes my users won't amend a lead (online enquiry) and will just convert it straight away, is there any way to stop it converting (when they haven't amended anything) unless that particular field is completed?
Thanks!
AND( IsConverted, OR( NOT( TEXT( PRIORVALUE(Customer_Disposition__c)) = "Ready to pay"), NOT( TEXT( PRIORVALUE(Customer_Disposition__c)) = "Wants free advice"), NOT( TEXT( PRIORVALUE(Customer_Disposition__c)) = "Wants time to think"), NOT( TEXT( PRIORVALUE(Customer_Disposition__c)) = "Fee too high") )
2
)
Thanks. For some reason it still isn't working, it allows me to convert a lead without setting a value. The syntax checker displays no errors. In fact, I have just tested after amending other fields in the lead and it allows me to save and convert.
Thanks,
Peter
Sorry for the delayed response.
Please see the following articles, to run validation rule on lead convert, you will have to check require validation for converted leads checkbox from the lead setting.
https://help.salesforce.com/articleView?id=000176187&type=1
https://help.salesforce.com/articleView?id=Enabling-Use-Apex-Lead-Convert&language=en_US&type=1