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
CRMsimpleCRMsimple 

Custom button to populate contact field on opportunity record?

I'm trying to create a custom button so that when I create an Opportunity from a Contact record, it will populate the contact name and the account name. So far, it is only populating the Account name.

Code:
https://na2.salesforce.com/006/e—lookupcmpgn=1&retURL=%2F{!Contact.Id}
&accid={!Account.Id}&
conname={!Contact.Name}&conid={!Contact.Id}

 
I've gotten plenty of these types of buttons to work but usually on custom objects to standard objects. Can anyone help?

:smileysad: