You need to sign in to do that
Don't have an account?
Umesha BP 9
How to store radio button Values into Pick list Value?
Scenario:
I have one pick list field in Candidate Object
Do you Know Java?
Options:Yes and No
In visualforce I am displaying In radio Button .
If I select Yes I want to update Do_You_kNow_java__c is Yes
If I select No I want to update Do_You_kNow_java__c is No
in picklist field.
Please Explain How to do ?
I have one pick list field in Candidate Object
Do you Know Java?
Options:Yes and No
In visualforce I am displaying In radio Button .
If I select Yes I want to update Do_You_kNow_java__c is Yes
If I select No I want to update Do_You_kNow_java__c is No
in picklist field.
Please Explain How to do ?
Please find the sample code below and tweak it as per your requirement.
Use Case: I have a picklist field with values 'yes' and 'No' I want to show this field as radio buttons on my VF page. i.e. one radio button for yes and one for no. and at a time only one can be selected
Note that type__c is my picklist field.
Use following method to get options for radio button on page
controller code: Hope this helps.
Please mark this as solved if the information helps so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.
Thanks,
Nagendra