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
cwarheitcwarheit 

Save & Clone

I am helping someone who is going to need to associate a list of phone lines with an opportunity.  The phone lines have a set of properties associated to them (call waiting, call forwarding, caller-id, etc) and each opportunity will can have up to 20 or more phone lines associated with them.  Often the phone lines have the same properties, only different numbers.  So, I want to create a new object associated with an opportunity and when they are entering a new number, I'd like for them to have a button that says "Save & Clone" similar to "Save & New", except when they click the button, it saves their input and then returns the form pre-filled with the previous save.  I'm assuming I'll need to create an s-control, but outside of that, I have no idea where to start.  Can someone point me to a similar example or give me some ideas of how to accomplish this?

Thanks in advance.

Craig
werewolfwerewolf
Actually you'll find that you can't add buttons to the edit screen, so Save & Clone isn't really an option.