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
Connor ReillyConnor Reilly 

Update InputField Value Based On Checkbox in Visualforce

Hi, 

I have a visualforce page with multiple InputFields that are picklists. I'm trying to add a checkbox that if checked, updates the InputFields to a specific value within the picklist. 

Any help would be appreciated. 

Thanks,
Connor
SwethaSwetha (Salesforce Developers) 
HI Connor,
The below posts are not an exact match to your ask but should help you get started:
https://developer.salesforce.com/forums/?id=906F00000008sqRIAQ
https://salesforce.stackexchange.com/questions/296039/conditionally-set-checkbox-values-on-visualforce-page

If it helps, please mark this answer as best. Thank you