Questions tagged [radio-button]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
31 views

Help retrieving value of radio button

I have the following code to generate a group of radio buttons. I can't seem to retrieve the value of the selected item. Thoughts? Component: <aura:iteration items="...
0
votes
1answer
14 views

Labels not showing on radio button inside a Flow (called by lightning component)

I encountered a most wierd behavior and can't explain it. I have a screen flow which I call from a lightning component, and on the screen of the flow the radio buttons labels are not displayed. the ...
0
votes
0answers
9 views

unable to get the default value of radioInput in controller

In my aura component, I iterate through an list of elements and render as radio buttons and would had set the very last one to be selected by default, but unable to get this value of default in ...
0
votes
1answer
16 views

Selected Radio button in Formula Field within flow builder

I created a screen in flow builder having a Radio Btn component(type boolean) I also create a formula field smoke_lv(type boolean) to capture the selected radio button value. I am using the ...
1
vote
1answer
42 views

Radio Button within Iteration - When user selects radiobutton, store the associated sourceId in attribute 'accountId'

Currently, I'm iterating through a wrapper that includes sourceId (aka accountId) and Opportunity Name, etc. When the user selects a radio button, I want to capture that sourceId in an attribute at ...
0
votes
1answer
127 views

How to setup help text for radio button with onmousehover

i was new to visualforce development currently I'm trying to setup help text or display some information when users mousehover on the radio button options. But when i try to fetch the value with ...
0
votes
2answers
27 views

Pass multiple values from Lightning radio

I need to pass mutiple values to Lightning radio button onChange function. Here's my code; <aura:iteration items="{!v.records}" var="rec"> <tr class="slds-hint-parent"> ...
0
votes
1answer
62 views

how to copy values to field in aura:iteration dynamically using Radio button with multiple rows

Here I'm trying to copy values from the output text table data to respect of their field which are price and Qty Please take look at the below picture for an idea. Here I'm using Inside two aura: ...
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
99 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
155 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
54 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
173 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
25 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
75 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
655 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
155 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 ...
2
votes
1answer
286 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
844 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
550 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
446 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
46 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
528 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
945 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
520 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
5k 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
831 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
549 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
2k 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
1k 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
606 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
236 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
266 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
56 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
366 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
175 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
464 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
170 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
281 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
576 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
922 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="...