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
babloo123babloo123 

Apex code guidance

Need to write the custom logic in the controller.
IF VF page like radio buttons or mutli checkboxes: capture the values in the controller.

the record has picklist and mutiselect picklist : compaire the values with the existing values and assign the appropirate values at the data base level.

Example : mutli checkboxes 1,2,3 are the selected values then in the controller process these values as 1;2;3 and assign it to mutiselect picklist

Can some one help me how to write code
RamuRamu (Salesforce Developers) 
See if this article helps on how to handle multi select picklist values.

https://developer.salesforce.com/forums/ForumsMain?id=906F000000090NzIAI
Andreas MeyerAndreas Meyer
quite tricky,

see if this solution will help you:

"How to bind multipicklist into checkboxes dynamically"
https://gist.github.com/stt/3169411

Best,
Andreas