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
kevinvw2000kevinvw2000 

How to create Picklist in VF page that is not bound to data field?

I would like to add a picklist control to a visual force, but I don't want it to be tied to a data field.

I just want the field to have to values - "Yes" and "No".

When the user picks a value and submits the page I want to be able to reference the choice in the controller class.


Is this possible?

 

Thanks.

Best Answer chosen by Admin (Salesforce Developers)