+ Start a Discussion

Custom Button that links to the Visualforce Page

I need to create a Button for the Page Layout that links to the Visualforce Page (another page). It's for custom object. How can I do that? Can I use "Buttons, Links, and Actions" to open VF Page? Or I need to create another VF Page?
Best Answer chosen by Simon234
Raj VakatiRaj Vakati
You can create a on click javascripy button that will redirect to the another vf page 
var accReq = "{!Account.Name}";
if(accReq != '') {
else {
alert('Name is mandatory');