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
sonamsonam 

Retrieve checkbox values from vf page

There is an account having two record types say A and B . I am displaying the records based on record types on a VF page in two grids . There is a checkbox infront of every record . The records are being displayed but i want to check some records and on the basis of checked records i want to send an email to the checked records . How to retrive ids of checked records on the controller and send email to them ?????????
Vinit_KumarVinit_Kumar
You should be using wrapper class to store the ids of checked records.Go through the below links to learn more about it and to get sample code as how you can buid it :-

https://developer.salesforce.com/page/Wrapper_Class

http://www.sfdcpoint.com/salesforce/wrapper-class-in-apex/

http://www.interactiveties.com/b_visualforce_wrapper_class.php#.U4NfOfmSw80

If this helps,please mark this as best answer to help others :)