You need to sign in to do that
Don't have an account?

Problem in Overriding the edit link with visualforce page
I need to override the edit link(which is in the related list) with visualforce page.
In the visualforce page I need to check the condition, if the condition satisfies, I need to proceed with the same edit link and if the condition fails, need to throw an alert and redirect to the same page.
so I am having the problem, when the condition gets satisfied, it is looping through the same vf page infinite times, not redirecting to the actual edit page.
Sounds like you don't want to override the edit page.
Put a custom button with label, "Edit", that goes to your VF page and remove the edit override.
If you want the edit override try adding &sfdc.override=0 to your url parameters when you try to redirect them to the standard edit page
Its worked for me by putting the parameter as nooverride=1, which will redirect to the standard edit page.