function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Akanksha sharma 15Akanksha 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
devedeve
Hi Akanksha,

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