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
suneel raosuneel rao 

How to get previous page data in to present page

Hi all,
I have two custom vfpages, in the first page i have address fields. After filling the data when we click the next button we will redirecting to second page in this page i have a field with the picklist values Yes and No. If we select Yes then the previous address fileds should be shown and if you select No show the empty address fields to enter data.
Can anyone help me over here. I was new to this task.

regards,
Suneel.
Best Answer chosen by suneel rao
SandhyaSandhya (Salesforce Developers) 
Hi,

Please refer below link for sample code.

https://gist.github.com/pchittum/7929944
 
http://developer.force.com/cookbook/recipe/creating-a-wizard-with-visualforce-pages
 
Hope this helps you!

If this helps you please mark it as solved.

Thanks and Regards
Sandhya