function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Srinu SomuSrinu Somu 

Giving numbering for the radio button values

<apex:selectRadio value="{!question.selVal}" layout="pageDirection">
    <apex:selectOptions value="{!question.options}"/>
</apex:selectRadio>

I want to give numbering for the radio button options. Suppose if there are 3 values before each option I want to display the number.
Example:
1. [radionbutton]Option1
2. [radionbutton]Option2
3. [radionbutton]Option3

Please help me.

Thanks,
Srinu
Abhishek Singh 88Abhishek Singh 88
first of create counter that will count no.of rows,and then use wrapper class to fix the counter along with rows.