Questions tagged [selectradio]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
89 views

How to set up apex:selectRadio in a grid layout

I'm trying to achieve below layout. Below is my code (with 2 approaches) on VF page. <apex:page lightningStylesheets="true" applyHtmlTag="true" > <apex:includeLightning /> <...
1
vote
2answers
157 views

Action not working on SelectRadio

I have a code in which I am calling change method on select Radio.. Code <apex:form > <apex:selectRadio value="{!kind}"> <apex:selectOptions value="{!choice}"/> &...
0
votes
1answer
51 views

Radio buttom disable one filed out of three inputfields [closed]

i need some option like: three input fields linked with three radio buttons, initially all the fields should active, if i click first radio button it should disable 2nd & 3rd inputfiled, please ...
0
votes
1answer
54 views

Select Ratio only showing 2 options

we are having an issue here related to select radio. We have a radio button which has potentially up to 5 options, but only the first 2 are showing up. Here is the Visualforce page code: <apex:...
1
vote
2answers
513 views

How to disable Radio Buttons (fetched from a Picklist Field) on a Visualforce page?

I'm trying to display Picklist field as Radio buttons on Visualforce page. On selection of any radio button, how to make other buttons disabled? For instance there is a field by named "Lead Source" ...
0
votes
2answers
580 views

radio with values from picklist

I have a picklist with values and I need to display them not as dropdown but as radio-buttons, is there an easy was to do it? Maybe even without a custom controller?
1
vote
1answer
379 views

Radio buttons and loops and DML

Is there any way to for loop through many records and put a new radio button + name/id/something of that record? Also, is this done with VF page or controller? Last, is it be possible to get a small ...
3
votes
1answer
5k views

Using Input Radio in Visualforce page with Apex Controller

I am having trouble using apex:selectradio because of 508 compliance issues. The selectradio is creating html table tags with role="presentation" and the tool my client is using treats it as a layout ...
1
vote
1answer
138 views

Place input tag inline with a specific selectRadio option

I have a select options tag inside a select radio Tag. I am trying to achieve something in which I will have radio button with its label and then an input box in line. below is my apex code` <...
1
vote
1answer
1k views

Apex:SelectRadio Have no default option selected

For Apex:SelectRadio components do they always have a default value selected when first rendered on the visualforce page and when the selectOptions are specified directly in the visualforce page as ...
1
vote
1answer
694 views

<apex:actionSupport> event not firing in <apex:selectRadio> group

I have the below in my VF page. There is an <apex:selectRadio> group with the options populated by a function in my controller, and below there is an <apex:outputPanel> which is rendered ...
2
votes
1answer
575 views

Radio options appearing all in one line

I am re-using a global method to get all the picklist values for my select lists and radio lists: Controller: public List<SelectOption> getFrequencyOptions(){ List<SelectOption> ...
0
votes
0answers
113 views

ActionSupport on selectRadio not Calling Setter Method and also not rerendering outputPanel

I came across similar posts but my solution is not working at all. I have to show two options with radio buttons and render different outputpanel for each selection. Code Snippet is below. Initailly ...
0
votes
1answer
243 views

How do I achieve this html markup using apex:radioSelect buttons?

I'm trying to achieve this markup: <ul> <li><input type="radio" name="category" value="all" checked/><label>All</label></li> <li><input type="...
4
votes
1answer
5k views

Select only One row of table by using radio button [duplicate]

I want to select only One row of table using apex:selectRadio.. please share some code or helping link if any.. Thank You.. when i click or check one radio button other should be unchecked according ...
2
votes
1answer
13k views

How to get the selected radiobutton value in apex?

I have use the following code I would like to get the radiobutton value in the apex. I have checked the one option button and click the button (to call the method OptionVlaue()) I have checked the ...
3
votes
1answer
957 views

Dynamic Component Select Radio Selected Value

I have built a dyanmic component as selectOption (select radio with select option values). I need to know how can I access the selected value? (which radio button is selected?) Below is my code VF ...
1
vote
2answers
1k views

apex:selectRadio Value attribute thrown error “Invalid selectOptions found. Use SelectOption type in Apex.”

When i used value attribute in selectRadio as below, i got an error such as Invalid selectOptions found. Use SelectOption type in Apex. But it works with itemValue instead. Any suggestions please....
2
votes
1answer
3k views

How to select one radio button from each radio group in visualforce page?

i am trying to select only one radio button from a table which has been built by <apex:repeat control. Now the issue is, user can select all of the radio buttons in a logical group of radio buttons....
2
votes
2answers
2k views

Javascript action function not working after Summer 14 release

I have a VF page with a command button. It calls a javascript function, and then an actionFunction to call a method in the apex class. Everything was working fine until summer'14 release. Now, when ...
1
vote
1answer
469 views

Why can I not left align a selectRadio

Im trying to put some stuff into a 2 column panelGrid and no matter what I do there is always unnecessary padding around a selectRadio. Any idea how to make it go away? The css I have applied is: ....
1
vote
2answers
712 views

selectOption Required only when Rendered

I have a vf page with radiobuttons. This is rendered only when a condition satisfied. The radiobuttons need to be mandatory only when it is rendered. But the problem is even if the radio options are ...
5
votes
1answer
2k views

SelectRadio Not Working Rerender outputPanel

On selecting Yes/No from the selectRadio options, outputPanel reRender is not working Here's the code I have 2 radio buttons.. yes/no. If user clicks Yes, it should display the outputPanel. If No, ...
7
votes
3answers
2k views

SelectRadio Problem

<apex:page controller="testRadio"> <apex:form > <apex:selectRadio > <apex:pageBlock > <apex:pageBlockTable value="{!selectOptions}" ...
2
votes
1answer
3k views

Multiple line itemLabel in apex:selectOption

I have a situation that should be pretty easy, but I can't seem to make it work. <apex:selectRadio id="restrictRadioBtns" layout="pageDirection" value="{!restrictedObjSettings.Restriction_Type__c}"...