You need to sign in to do that
Don't have an account?
Akanksha sharma 15
when i will click on previous buttton alreadt filled details should be present
My scenario is when i filled details on page 1 and will click on next button i will get page2 and on that page i have previous button when i click previous button already filled on page 1 details should be display i am not getting any idea that when i click on previous button how can i get filled details there. anyone can help me out in this.Thanks in advance
You can do this by passing parameters in url of first page like
public PageReference goBack(){
PageReference pg = new PageReference('/apex/leadconvert?company='+l.company+'&id='+l.id');
pg.setRedirect(true);
return pg;
}
Thanks