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
BPrakash1BPrakash1 

Can we add a custom button to standardcontroller visualforce page

HI

I had created a button called submit on the UI and i want to get the value in visualforce page.

In my visualforce page iam using standard controller.

Please help how to approach this

Thanks

Bhanu

JHayes SDJHayes SD

One option is to create a new page layout on the object you created the custom button on and include a Visualforce page within the page layout.  This will let you drag and drop the button onto the layout.  A good explanation is available here:  http://blog.jeffdouglas.com/2009/05/08/inline-visualforce-pages-with-standard-page-layouts/

 

Regards, jh