We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [radio-button]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Get the Selected radio button value via button click [duplicate]

I think this is a very dumb question sorry for this I am just doing some POC. here is the code: <lightning-radio-group name="radioGroup" label="Radio Group" options={...
1
vote
1answer
86 views

Issue with Radio Button with text input

I am creating a cloudpage on web studio and using Radio Button to select the donation value to create a new opportunity (and a contact if not already exists) having the selected radio button donation ...
0
votes
1answer
65 views

AMPscript for Radio Button with text input

I am stuck at handling the value of radio button with text input. The radio button with static values are handled correctly. Here is the AMPscript for 1000, 500 and text input. Can you please help on ...
1
vote
1answer
48 views

Apex is deselecting my radio buttons

Basically I want an apex method to run when a radio button has been selected. I also want the image used as the radio button to change. But it seems when the method runs the radio button is unselected ...
0
votes
1answer
72 views

ui input radio button is not working

Hello all i am working on one requirement where i want to display table on the basis of my ui radio button selection but here once i select the radio button options then iam able to display the table ...
0
votes
1answer
22 views

Ui input radio not working as expected

Their is a requirement for creating two ui input radio buttons although i achieve that but here iam facing a unique problem the input radio is not deselected on the selection of second one both ...
1
vote
2answers
58 views

Facing problem in single select radio button?

I have done with almost everything. The only thing left is to prevent multi-selection of radio button. It should be a single select only. ---Controller-- public class ContactRoleOnOpp8 { public ...
1
vote
1answer
195 views

Lightning Web Components - Radio button “checked” not retaining when navigating back and forth

I am not UI/UX person and I need help with setting radio button as checked when used in a LWC inner template-for-loop which involves page navigation and conditional rendering. I am able to get the ...
0
votes
0answers
91 views

Select Radio button in HTML table

I am trying to display each select radio button in a separate html table column. I want irrespective of the size of the screen, the radiobuttons always display perfectly under the emoticon. The end ...
1
vote
1answer
113 views

Lightning radio selector in iteration disappears when option selected in another row

I have created a Lightning component that allows users to dynamically create their desired number of records. I implemented a data table for this. In my third column, I asked users to select from two ...
0
votes
1answer
707 views

Radio button and pick list fields value is not getting stored in the salesforce org

After finishing the basic lightning component trail I started writing another component of my own choice and when I hit the submit button I get the below error if I cut out the pickList field and ...
2
votes
2answers
2k views

lightning:radioGroup - not able to select the options

My requirement is I want to show questions and its options on lightning component and they are populating as expected. However since each question may have 2/4 options, I have used lightning:...
1
vote
2answers
413 views

How to check the appropriate radio button based on its value

Please find below the Vf page and Apex class that I am using. I am fetching the rating value as URL parameter(/apex/FeedbackPage?rating=2) and storing it in a variable called rating. Its value can be ...
3
votes
1answer
371 views

Why does <lightning:radioGroup returns String rather than Boolean

I am getting a String value of 'true' from the <lightning:radioGroup when I expect to get a Boolean value of true Component <aura:component > <aura:attribute name="booleanOptions" type=...
0
votes
1answer
45 views

Close and reopen VF page

I have a page loaded from a button on a custom object to create an email. It renders the body and subject from an email template and displays the results for possible edit with a rich text field. I ...
0
votes
1answer
36 views

Radio button not appearing

Drastically updated code/this question after getting more understanding. I think it would be best to use a checkbox for this field rather than radio button, and the issue seems to be dependent on the ...
0
votes
0answers
425 views

<input type=“radio” returning ON with onclick function

To my previous Question, I did some more debugging and ended up log with OnClick value: on Good thing is, I have my LightningApp on the Internet Explorer which helped to get to the console logs(...
3
votes
1answer
884 views

Lightning radio button NOT getting the correct value (or modifying it)?

On the Lightning for Outlook, I do have a record creation button component. Clicking on it gets the custom record type selection. Based on what we choose(radio button), force:createRecord event fires. ...
8
votes
1answer
1k views

lightning:radioGroup is allowing multi-select

I have a lightning:radioGroup that shows record types for an object: <aura:attribute name="recordTypes" type="String[]"/> <aura:attribute name="recordTypeValue" type="String"/> <...
0
votes
2answers
384 views

I have one radio button and inputfield in lightning [closed]

I have one radio button and one input-field..I am trying to achieve something like.if i click on the radio button , the input field should get active and value of that input-field should come ...
2
votes
2answers
4k views

Can't get data from lightning:radioGroup

I can't get value selected on lightning:radioGroup. It return undefined <lightning:radioGroup aura:id="test"name="testName" options="{! v.options }" required="true" onchange="{! c....
0
votes
1answer
738 views

How to store boolean value against radio button

In my visualforce page I have two command button. I want to store boolean value into database against those radio button. I have chosen the field type as 'checkbox'. Please help me. My vf code is &...
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
505 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
1answer
1k views

SelectRadio how to display radio buttons side by side

I need to display Redio buttons side by side. like below But they are displaying like My VF code so far (I need to render some part of the page based on user selection of Income/Expense/Transfer): ...
0
votes
2answers
953 views

Displaying Picklist as radiobutton on VF

I have a picklist with values as yes and no. On my vf i need to display the same as radio buttons and while saving the values i need to save them as picklist values from th controller.
0
votes
2answers
577 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?
3
votes
1answer
223 views

Radio buttons are not displaying on vf page

Here is the VF page: <apex:page controller="rateQuestionsControllers"> <apex:form > <apex:pageBlock > <apex:pageblockTable value="{!rateWrappers}" var="...
0
votes
1answer
244 views

Labeling radio Options in visualforce

This is taking way longer than it should. I have the following . . . <apex:pageBlockSection> <apex:selectRadio label="Update Existing Contact" value="{!...
-1
votes
1answer
4k views

Please help me with radio button action in lightning component:: [closed]

I am unable to trigger the action for radio button in lightning component. Here is the code for the radio button: <aura:attribute name="opportunities" type="Opportunity[]" /> <aura:...
0
votes
1answer
54 views

Issue with radio button not hiding page block panels

I have a visual force page which has 2 radio buttons. Based on clicking a value on the radio button, i want one page block panel to be displayed and another one is hidden. The problem is the yes ...
1
vote
2answers
4k views

Toggle between radio button in Lightning

Hi I am new to Lightning and working on radio buttons. However I am unable to find any documentation on how to toggle between the two buttons. My requirement is that either of the buttons needs to be ...
1
vote
1answer
360 views

Radio button not in sync with each other

In my Visual force page I am showing all the cases related to a contact. I use a search function to populate the value of cases in a List of a wrapper class. I am mimicking from this link->https://...
1
vote
1answer
3k views

Include radio button for each row in PageblockTable

I am having a hard time to figure out how I can include the radio button select option within the PageBlockTable. I am searching all the cases related to a contact here. Logic in my controller ...
0
votes
0answers
168 views

Radio SelectOption as a list

I am using the below code in my VF page to display cases with an option to select(Radiobutton): <apex:selectRadio label="Select Case to Update" value="{!excase}"> <apex:selectOptions ...
1
vote
1answer
1k views

Sobject list as radio button Select Option

I am building a page where I have contact's first name and Last Name as an input field. When I enter the first and last name, and click search all the cases related to the contact should display as a ...
0
votes
2answers
439 views

vf page,radio rendering

<apex:page standardController="Employee__c" extensions="testPage" tabStyle="Employee__c"> <apex:form id="frm1"> <div> <input type="radio" name="acc" checked="checked" value="...
0
votes
1answer
166 views

how to align check boxes in between radio buttons

here i am trying to put my checkboxes in between radio buttons, and i also wants to disable those checkboxes if radio button is not clicked. here how i want-- Vf code-- <table ...
1
vote
1answer
256 views

how to make a pageblocktable editable by clicking a radio button

here i am trying to make a radio button which will when clicked should make my pageblock table editable. is there any way to achieve this, if yes please help me out. here is my vf page-- here is my ...
0
votes
0answers
532 views

how to use radio buttons with checkboxes to perform some actions

i am trying to create this vf page, but i don't have any idea how to do this, here VF page that i have to built- here i have created the search function as well as how to limit the search records per ...
0
votes
2answers
875 views

All radio button get selected at same time

In my below code in the section where I used radio button : <apex:page standardController="Account" recordSetVar="accounts"> <apex:form > <apex:pageBlock title="Account List" id="...
0
votes
2answers
1k views

account list as radio button options in VF page

I have the below VF page where I am trying to list the account and contact details as radio button options: <apex:page standardController="Account" recordSetVar="accounts"> <apex:form &...
0
votes
1answer
827 views

The radio button after clicking doesnt let to refresh the page!

I had a quiz program in apex which displays the next question value when the 'Next' button is clicked and it's working fine. But when I select a value in the radio button which I had used for choices ...
0
votes
0answers
30 views

Write Radio Button Value to Visualforce Page [duplicate]

I have a Visualforce page on the Account Object that is meant to create a new Account record. Part of my code uses to create a selection of 3 radio buttons. When the Visualforce page is saved and ...
1
vote
2answers
752 views

RadioButton allows to choose more then 1 option from list

I have simple custom page: <apex:page controller="opportunityList2Con"> <apex:form > <apex:pageBlock > <apex:pageBlockTable value="{!employees}" var="o" > &...
5
votes
1answer
2k views

how to make selected radio button as checked?

depending upon the selection of radio button it displays the selected row in differnt fields. the selected radio button disappears after the selected row splited.but i want the radio button selected. ...
1
vote
1answer
1k views

javascript show a div while check radio button

I have 3 radio buttons, and when I select one I want that the div corresponding div shows up. <apex:form > <apex:selectRadio value="{!livraison}" layout="pageDirection" id="radios"> <...
0
votes
1answer
1k views

Radio Button onClick event not getting true

I have a radio button it's function is, when click it should reRender pageblock table. But when I press it button not get clicked. so that my table not get reRender. For achieving that i tried but not ...
0
votes
2answers
642 views

is it possible to have radio button based dependent picklist

Is it possible to have dependent pick list based on radio button.? suppose i have one picklist x,y,z,1,2,3 and two radio button letters and numbers when i select letters picklist values will be x,y,z ...