Latest Updates
Travel to Technology
Redirect to Visualforce page from Custom Button using OnClick Javascript
You have to write javascipt code to redirect to VF page standard custom button. Should use window.location function to redirect to VF page.

Example:
{!REQUIRESCRIPT('/soap/ajax/26.0/connection.js')}
var accReq = "{!Account.Name}";
if(accReq != '') {
window.location="/apex/VisualforceName?id={!Account.Id}";
}
else {
alert('Name is mandatory');
window.location.reload();
}
Our Recent Blogs
-
27 Jan, 2021
Salesforce Architect Domain Exam
-
23 Nov, 2016
Salesforce Certified Technical Architect New Path
-
28 Mar, 2018
Salesforce Release Exam in Trailhead Certification
-
29 Dec, 2021
Salesforce Certifications