Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

I used this link to help me create a custom conver button on the lead so that way I could default check "Do not create new opportunity upon conversion". The button is created and from what I can tell, is right but I am stuck when it says to code the button. It gives 2 lines of code, but where does that code go? I am sure I am missing something easy, but I am pretty new to coding so forgive my silly question.

http://cloudyk.com/salesforce/salesforce-lead-conversion-do-not-create-opportunity-by-default/

share|improve this question
add comment

1 Answer 1

The code is the JavaScript your button executes. When you are on the Custom Button screen and select OnClick JavaScript as your content source you would enter that code (as one line) into the editor below.

share|improve this answer
    
That makes perfect sense, thanks so much for your help! –  Paula Rogers Jan 14 '13 at 14:43
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.