function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
deepakMdeepakM 

how to make field required in lead page on convert?

Hi 

i have two fields name :

 

Actual Program1
Actual Cost1
need to be require when we click  'convert'  button on lead page.
thanks in advance
vijaymindvijaymind

You have to write the custom lead conversion functionlity because standard convert button does not work to make any validation while clicking on Convert button from Lead Page layout !

deepakMdeepakM

hi viajy 

 

please let me know littile bit about  custom lead conversion functionlity.

 

thanks

vijaymindvijaymind

You can get some code from my dropbox ! Hopefully this would be helpful to understand custom lead conversion !

 

https://dl.dropbox.com/u/48219775/lead%20conversion.txt

 

 

 

 

mohimohi

1: Create a custom button Lead Convert,

2:Use javascript to convert Lead and in java script you can check mandatory,Use convertLead method.

3:If you want notification to be sent to owner,write workflow when lead status isConverted =true,send Email Alert.

 

Hope this will help You.If this a solution Please Mark as Accepted

deepakMdeepakM

i got the solution as under

 

AND(IsConverted,
OR
(
ISBLANK(ownername ),
Company = 'ab'
)
)