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
anukarthi_nimmalaanukarthi_nimmala 

Regarding radio button

Hi everyone,

 

 I am having a radio button with multiple options now my requirement is i want to display all the options values in aseparate  line/options in multiple lines .How could i do this help me wi th an example

 

My radio button is as follows

 

<apex:selectRadio     value="{!selectedOption}">
     <br/>
                 <apex:selectOptions   value="{!choices}"/>
        <br/>
       
          </apex:selectRadio>

 

 

 

 

Best Answer chosen by Admin (Salesforce Developers) 
imuino2imuino2

I did found this on salesforce components documentation

 

<apex:selectRadio  layout='pageDirection'   value="{!selectedOption}">

     <apex:selectOptions   value="{!choices}"/>

</apex:selectRadio>

 

you can find the documentation in your org /apexpages/apexcomponents.apexp there you can find al the components documentation.

 

Ignacio.

 

All Answers

imuino2imuino2

I did found this on salesforce components documentation

 

<apex:selectRadio  layout='pageDirection'   value="{!selectedOption}">

     <apex:selectOptions   value="{!choices}"/>

</apex:selectRadio>

 

you can find the documentation in your org /apexpages/apexcomponents.apexp there you can find al the components documentation.

 

Ignacio.

 

This was selected as the best answer
NikuNiku

Hey thanks dude.... form last 30 min i am struggling with this issue.. Thank you very much..