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
chenna1234chenna1234 

Passing data from one VF to another Vf pages in SFDC ( Very Urgent)

Hi All,

 

I am having 2 vf pages where i can enter information on both pages. so if i  enter data on first vf page it shld also appear on 2nd vf page & viceversa. Can you please send the code?

 

Thanks in Advance for your great help

Jia HuJia Hu
Based on my understanding, what you input in VF page 1 can't be automatically passed to VF page 2.
You may have two choices,
1. After input in VF page 1, user click Save button or something else to submit the input to the database and on the VF page 2 user can see what inputed on the VF page 1.

2. After input in VF page 1, user click submit or something else, use PageReference in the controller to automatically move to the page 2 with the input in the page 1.
doc,
http://www.salesforce.com/us/developer/docs/pages/Content/apex_pages_pagereference.htm