You need to sign in to do that
Don't have an account?
Geetha B
how can i get radio button selected value from a vf page to controller
<tr>
<td height="20" width="30%">Responce to Enquiry</td>
<td width="7%" align="center"><input type="radio" value ="Poor" name="{!ResponcetoEnquiryT}" ></input></td>
<td width="7%" align="center"><input type="radio" value="Average" name="{!ResponcetoEnquiryT}" ></input></td>
<td width="7%" align="center"><input type="radio" value="Above Average" name="{!ResponcetoEnquiryT}" ></input></td>
<td width="7%" align="center"><input type="radio" value="Good" name="{!ResponcetoEnquiryT}" ></input></td>
<td width="7%" align="center"><input type="radio" value="Excellent" name="{!ResponcetoEnquiryT}" ></input></td>
<td width="7%" align="center"><input type="radio" value="Poor" name="{!ResponcetoEnquiryC}" ></input></td>
<td width="7%" align="center"><input type="radio" value="Average" name="{!ResponcetoEnquiryC}" ></input></td>
<td width="7%" align="center"><input type="radio" value="Above Average" name="{!ResponcetoEnquiryC}" ></input></td>
<td width="7%" align="center"><input type="radio" value="Good" name="{!ResponcetoEnquiryC}" ></input></td>
<td width="7%" align="center"><input type="radio" value="Excellent" name="{!ResponcetoEnquiryC}" ></input></td>
</tr>
Is this syntax correct i am not getting selected radio value to controller name
<td height="20" width="30%">Responce to Enquiry</td>
<td width="7%" align="center"><input type="radio" value ="Poor" name="{!ResponcetoEnquiryT}" ></input></td>
<td width="7%" align="center"><input type="radio" value="Average" name="{!ResponcetoEnquiryT}" ></input></td>
<td width="7%" align="center"><input type="radio" value="Above Average" name="{!ResponcetoEnquiryT}" ></input></td>
<td width="7%" align="center"><input type="radio" value="Good" name="{!ResponcetoEnquiryT}" ></input></td>
<td width="7%" align="center"><input type="radio" value="Excellent" name="{!ResponcetoEnquiryT}" ></input></td>
<td width="7%" align="center"><input type="radio" value="Poor" name="{!ResponcetoEnquiryC}" ></input></td>
<td width="7%" align="center"><input type="radio" value="Average" name="{!ResponcetoEnquiryC}" ></input></td>
<td width="7%" align="center"><input type="radio" value="Above Average" name="{!ResponcetoEnquiryC}" ></input></td>
<td width="7%" align="center"><input type="radio" value="Good" name="{!ResponcetoEnquiryC}" ></input></td>
<td width="7%" align="center"><input type="radio" value="Excellent" name="{!ResponcetoEnquiryC}" ></input></td>
</tr>
Is this syntax correct i am not getting selected radio value to controller name
http://salesforce.stackexchange.com/questions/9924/bind-a-radiobutton-to-controller
ResponcetoEnquiryT
ResponcetoEnquiryC
You should group them into select options and do it as suggested in this help topic.
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_selectRadio.htm