You need to sign in to do that
Don't have an account?

changing lead status of many leads at a time
Hi everyone,
I had selected some leads in vf page and saved them in list in apex class code. when i navigate to other page, i am able to display selected records. Now my requirement is to change status of all selected leads by selecting values from status picklist and when i click on save,the status of all lead should change to selected option in picklist.
When i am using standard save button, i am getting required field missing i.e lastname and company............and when i am using custom save button then it throws exceptions!!!
i am using apex:inputfield in vf page for changing value of status.
So anyone can help me out in this requirement or can suggest how to write custom save method?
Hi,
Are you showing the Last Name and Company of the selected leads in the next page?
Thanks
Hi Sureka,
On 2nd page i am displaying the lead details selected by user in 1st page. it include lead name, Firstname,lastname,company and present status.
Hi,
I am not very clear with the problem. If you can provide the code, I can help you.
Thanks
Thanks everyone,
finally i got the solution for my problem. For status picklist value i am taking that with help of selectlist option and then assigning that value to lead status in apex method.
Once again thanks to everyone who give valuable suggestion and share their thought with me.