I have a custom Opportunity list button. I have placed this button on the Opportunity related list on the contract record.
The JavaScript is:
/006/e?retURL=%2F{!Contract.Id}&accId={!Contract.AccountId}&ctrcid={!Contract.Id}
I am returning this error when I click the button:
A problem with the OnClick JavaScript for this button or link was encountered: Syntax error in regular expression
I don't see anything wrong with this snippet. Can you advise?
Thanks,