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
abdul kalam 13abdul kalam 13 

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

Hi,
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.
pconpcon
Can you please include your Visualforce page?

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