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
KPGUPTAKPGUPTA 

save selcted records in a checkbox

HI Everyone,

 

Actualy i want to save the records of selcted checkboxes in visula force page.. can anybody suggest me how to do this..

 

Select          Name      Email

Checkbox 

 

I want to save the selected records

Ankit AroraAnkit Arora

You can do this by creating a wrapper class in you controller. Wrapper class (inner class) will contain Name , Email and Checkbox (Boolean) properties. Then on click of any button you can loop the wrapper class and get the value of checkbox , if it is selected true will be returned and you can perform an action on it.

 

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page

raseshtcsraseshtcs
KPGUPTAKPGUPTA

hello Everyone.. I know this is done by wrapper class nd i do this the problem is while saving the contacts. processed contact is not saving the selected contacts.

KPGUPTAKPGUPTA

Hi everyone, Actualy what i want to do this i have  an object names patient deal. in this vf page i want the conatct klist  and i want to ave the selceted list and want to send email to that selcted conatcts so can any body now help me..