+ Start a Discussion

Hi All ! Selected Radio button value not stored in field. thanks in advance

The user selected value not stored in object field value.myfield is a field of the customobject

Vf page:

<div class="options">
                                <apex:selectRadio value="{!custom.myfield}" required="true" layout="pageDirection">
                                <apex:selectOptions value="{!myOptions}" />



 public customobject__c custom{get; set;} 


Thanks in advance..


What type is the field on the object? Try binding to a string member variable instead and then copying the value from that to the object in the backend perhaps.