You need to sign in to do that
Don't have an account?
Manikandan C 14
Cancel Button ask to fill required fields. How Can i Overcome this.
Friends, I have created a visual force page with cancel button. but when i click cancel button the page ask me to fill required fields. How Can i Overcome this . My requirement is when i click cancel button it has to go list view page.
Here My code
Apex:
Public Pagereference docancel(){
PageReference pageRef = new PageReference('/001/o');
pageRef.setRedirect(true);
return pageRef;
}
Here My code
Apex:
Public Pagereference docancel(){
PageReference pageRef = new PageReference('/001/o');
pageRef.setRedirect(true);
return pageRef;
}
All Answers