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
Vimal BhavsarVimal Bhavsar 

How to add custom button on New Opportunity Page?


Hi,


In below form i want to add custom button can i do it ?if yes how?
User-added image
Anoop yadavAnoop yadav
Hi Vimal,

You should override the new Button to achieve this.
Create a visualforce page and override.
Dev.AshishDev.Ashish
Well by standard means it is not possible, there seems to be 2 possible solution

1) Use VF to make edit form.
2) use custom javascript to add button to edit form, I have found this @ https://developer.salesforce.com/forums?id=906F00000008oGVIAY
Cloud_forceCloud_force
if you want to add custom button on detail page of the record then you can do it in edit page layout, In edit mode you will only see stnadard buttons.

thanks,
http://www.forcexplore.com/2014/07/get-current-record-parameters-in.html