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
Sugandhi VermaSugandhi Verma 

How to send the selected checkbox item from 1 visualforce page to another

Hiii Plz Help!!!!!!!!!


I want user to select some items using checkbox field of the object on 1st visualforce page.Then i want it to show the selected items on another visualforce page. Please replyyy.
NagaNaga (Salesforce Developers) 
Hi Sugandhi,

The code in the below link seems to be similar to what your requirement is

https://developer.salesforce.com/forums/ForumsMain?id=906F000000098WxIAI

Please let me know if this helps

Best Regards
Naga Kiran
RishavRishav
Hii Sugandhi,
 the thing is that how do you want to  show the selected values in second page
1. you can do this by passing the selected value as querystring, it is better if u have only two page and few value to transfer.
2. you can go for visualforce wizard, this is a good way to build page that need to move back and forth .
 If you want to build wizard then follow this link https://www.salesforce.com/docs/developer/pages/Content/pages_quick_start_wizard.htm

IF it is still not satisfying your requirement then please let me know your exact requirement.

Thanks
Rishav
Sugandhi VermaSugandhi Verma
Hi Naga,

In that code the input value is stored in an object. I don't want to store that value...but to send it to another page by calculating price depending on the selected item by checkbox.
Sugandhi VermaSugandhi Verma
Hii Rishav,

I wanted it to pass as querystring string and i have 4-5 pages where these values are further passed....please guide.
RishavRishav
Hii sugndhi,
If you are performing a transaction over multiple step then i will suggest you to go with visualforce wizard , that's a good way.
No need to pass multiple variables through querystring. 

Thanks
Rishav