You need to sign in to do that
Don't have an account?
Shivani Jain
how to get the ids of the checkboxes selected using jquery and pass the id to controller through actionFunction
I have a controller on account object . I am displaying records after some searching criteria with checkboxes infront each row . I want to send mass email to all the selected checkboxes and want to apply some validation in which i have to check wether the email field of each selected record is null or not . I am getting the ids of the selected records through jQuery and passing this ids to controller through ActionFunction. But in controller the ids value is not fetching . Can any one tell some alternative solution or solution to this problem how to implement it .
Thanks in advance :)
Thanks in advance :)
Go through the below links to learn more :-
https://developer.salesforce.com/page/Wrapper_Class
http://www.minddigital.com/what-is-wrapper-class-and-how-to-use-it-in-salesforce/
If this helps,please mark it as best answer to help others.
All Answers
Go through the below links to learn more :-
https://developer.salesforce.com/page/Wrapper_Class
http://www.minddigital.com/what-is-wrapper-class-and-how-to-use-it-in-salesforce/
If this helps,please mark it as best answer to help others.
But i want to check validation on page before sending mail that wether the email field is empty or not . How can i do that ????????
You can do the same in your controller method also and display an error message if it is blank,something like below :-
VF page Controller
If this helps,please mark it as best answer to help others.
Mark it as best answer to help others :)