You need to sign in to do that
Don't have an account?
Meryem FRQ
How to redirect from a standard page ?
I need to overwrite the standard edit page for a certain recordType of events. Any ideas how to redirect to the new VF page ?
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
All Answers
Small example:
- the below code is for an edit custom button, it redirects to new account page for a recordtype and for all others, it redirects to a new contact page
var recTypeId = '{!Account.RecordTypeId}';
alert(recTypeId );
if(recTypeId == '01290000001ADgY'){ alert('if');window.location="/001/e"; }
else {
alert('else');
window.location="/003/e";}