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
SeannoSeanno 

Combining two buttons

Is it possible to combine 2 buttons into one in an Opportunity?  I have one button that changes a field to a certain value, then another custom button that creates a task.   Below is the code I tried to use to combine using the && operator, with no success.  It one does the first set of instructions.

 

/{!Opportunity.Id}/e?
save=1
&00NA0000004aPgM=Send
&&
/00T/e?title=Call Tag Request Sent
&save=1
&what_id={!Opportunity.Id}
&followup=1
&tsk5=Call Tag Request Sent
&retURL=%2F{!Opportunity.Id}

 

Thanks alot.

 

Sean

RpeeRpee

/{!Opportunity.Id}/e?
save=1
&00NA0000004aPgM=Send

&saveURL=%2F00T%2Fe%3Ftitle=Call+Tag+Request+Sent
%26save=1
%26what_id={!Opportunity.Id}
%26followup=1
%26tsk5=Call+Tag+Request+Sent
%26saveURL=%2F{!Opportunity.Id}

 

The second set of instructions is URLENCODED after the saveURL (= doesn't matter)

 

This is totally non-approved use of the url, but it works great and can save a ton of clicks.