+ Start a Discussion
john.krjohn.kr 

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}" />
                                </apex:selectRadio>
 </div>

 

Class:

 public customobject__c custom{get; set;} 

 

Thanks in advance..

MattLacey.ax1065MattLacey.ax1065

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.