+ Start a Discussion
abdul kalam 13abdul kalam 13 

Can't overide new button with VF page used by Standard controller.

I created a Visualforce page witha a standardcontroller to a customer obj. Like an Object called Registration___c and I a visualforce page called Farmer_Registration. Now When I click "New" button it should be redirected to my custome visualforce page called Farmer_Registration.vfs. I used button & links in that I tried to overide the "New" button with VF page. But the picklist couldn't show the Farmer_Registration.vfs page. What should I do? plse give reply as soon as possible.
Can you please include your Visualforce page?

NOTE: When adding code, please use the "Add a code sample" button (icon <>)