+ Start a Discussion

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?



Best Answer chosen by Admin (Salesforce Developers)