Choose your object -> click Buttons, Links and Action -> choose the Button you want to override -> Edit -> Choose override vfpage checkpage -> choose your visualforce page and then click save.
By using visualforce pages we can override standard buttons. This example helps you to understand how you can overriding standard button with visualforce page. In this example i am creating visualforce page called “newopportunitycreatepage” and I am overriding standard new button with above created visualforce page.
Now we are ready with our vf page, next step how to override standard opportunity new button.
Steps to overriding standard buttons
Go to setup -> opportunity -> Buttons,links, and actions, then click edit on new action. see below image for reference.
Next select override with visualforce option and select “newopportunitycreatepage” you created above and save your changes. See the below image for reference.
Now you are done with overriding your standard opportunity new button.
If this answers you question, please mark it as "Best Answer" so it will help other community members too.
Check this link for consideration for overirding standard button in salesforce - https://help.salesforce.com/HTViewHelpDoc?id=links_override_considerations.htm&language=en_US (https://help.salesforce.com/HTViewHelpDoc?id=links_override_considerations.htm&language=en_US)
Choose your object -> click Buttons, Links and Action -> choose the Button you want to override -> Edit -> Choose override vfpage checkpage -> choose your visualforce page and then click save.
Now we are ready with our vf page, next step how to override standard opportunity new button.
Steps to overriding standard buttons
Go to setup -> opportunity -> Buttons,links, and actions, then click edit on new action. see below image for reference.
Next select override with visualforce option and select “newopportunitycreatepage” you created above and save your changes. See the below image for reference.
Now you are done with overriding your standard opportunity new button.
If this answers you question, please mark it as "Best Answer" so it will help other community members too.