Questions tagged [radio-button]
Radio buttons are elements used in forms. They let a user select exactly one of a limited number of choices.
11,650
questions
0
votes
0
answers
14
views
implement "combobox with like search" inside class Tk
I have the following code:
import tkinter as tk
from tkinter import ttk
from tkinter import messagebox
from FUNCTIONS import unique_languages, unique_systems, unique_products, unique_business
from ...
0
votes
1
answer
32
views
How to select/ check radio button based on the value from database?
I have radio button like below
<dx:ASPxRadioButtonList ID="radClaimType" runat="server" RepeatDirection="Horizontal" AutoPostBack="true" ValueType="...
0
votes
0
answers
11
views
Disable Button on Radio Based in Angularjs
i want to disable upload button until not selected of any radio button when i select AAA Radio button then button is enable but when select BBB Then Button is Disable and Select 01 or 02 then Button ...
0
votes
1
answer
24
views
Unable to select dynamically generated radio button programmatically using javascript
I am dynamically generating form element for a booking page using PHP and HTML. On clicking the element, I am trying to check the respective radio button using JavaScript/jQuery. Unfortunately none ...
0
votes
0
answers
20
views
How can I clone a HTML div (parent) with radio buttons (children) and change the cloned radio button's ids in JS?
I am trying to clone a div in my HTML code that contains three radio buttons, but when I clone it, the formatting is correct but the radio button IDs are identical so clicking on the original radio ...
0
votes
0
answers
21
views
Issue with radio button selection in dynamic form
Each Fight is allowed One Prediction
A Prediction is cast on a Fighter with a specific method of winning the fight: (Any, Knockout, Submission, Decision)
Issue:
Whenever I click/submit an option for ...
0
votes
1
answer
29
views
how to pass index inside Radio listTile in Flutter?
I am trying to pass the index inside the Radio button list tile in order to set Locale language and also save settings into shared preferences.
This is a the part of main code where i want to pass the ...
1
vote
1
answer
22
views
Switching plots with radio button screws up the format
I am trying to do something relatively simple. I want to create a radio button that switches between two plotting formats. The radio button switches between two options. Let us call them 'a' and 'b.'
...
0
votes
1
answer
41
views
Proceed to Radio Button Item Conditionally
Say I have some radio button items. By default, the first item is checked. If I move to another item, I need to first check if a condition is true. If true, move to new radio button. If false, stay on ...
-3
votes
0
answers
21
views
How to use Radiobutton group with 4 radio button in Flatlist in React Native?
here is my code I am trying to making a quiz application with mcq.
I used react-native-paper Radiobutton group.
If I select first question's option A automatically all questions option A got selected ...
0
votes
1
answer
29
views
Angular 7 - How to bind the value to the radio button
I'm trying to use the radio button on my project but I failed to check the first radio button programmatically.
I had tried the Solution, but it is still not working in my code.
Here is my radio ...
1
vote
1
answer
43
views
shared preferences does not save radio button checkmark in Flutter
I implemented the shared preferences package in my Flutter app, with a list widget as radio button, that only save the language preference and not the checkmark.
So when i close the Language screen ...
-2
votes
1
answer
24
views
PHP does not get the values of form and radio button to add in MySQL [closed]
I'm trying to create web pages using bootstrap4 and PHP. I already have the code for the form "signup" where the user needs to put his/her firstName,lastName, sex, email, and password. Then ...
0
votes
2
answers
36
views
How to click on a radio button in selenium webdriver using javascript?
I am trying to run a test script that will click a radio button. The radio button elements are inside a div.
Here is the javascript code:
var driver = new Builder().forBrowser("chrome")....
0
votes
0
answers
23
views
How to set trigger for properties that are not generated YET in WPF [closed]
I want to create a bunch of radio buttons in a list view when the search button is clicked.
When I click the button, the program reads all properties' names of a certain model and displays the names ...
0
votes
1
answer
26
views
Radio Button group not centering even with Component.CENTER_ALIGNMENT and no whitespace
I am essentially making a quiz type of GUI with java swing. This is what I am going for:
But this is what I'm getting:
As you can see in the second image, question one's radio buttons are not ...
0
votes
0
answers
15
views
How can i use the button group for set data and transfer data
Hello i try to develop the program which can calculate the accounting system like accounting the price of something like coat and it can calculate the price which is buyed and the price of selling
I ...
0
votes
0
answers
42
views
How to make the submit button conditional with react hook form
I am using react hook form accepting various fields, I want to enable the button only when
A date is selected from the controller with KeyboardDatePicker component
A radio button selection is made
An ...
0
votes
2
answers
26
views
I have a problem with creating Radio Button in flutter
No matter how many websites I visit and how many codes I copy, I still get a error in Android Studio when I am trying to create a basic Radio Button.
import 'package:flutter/material.dart';
void main()...
0
votes
0
answers
9
views
Why does RadioGroup only support RadioButton instead of any Checkable
What is the reasoning that Android's RadioGroup only works with RadioButtons? Specifically I'm looking at API 31, but I don't think this has changed recently.
Most places that RadioGroup cares about ...
0
votes
2
answers
36
views
How to switch between checkboxes and radio buttons JavaScript
I have this code where I am creating some questions. My question looks like this:
My problem is that at these options I have made checkboxes. Although when the "Multiple Answers" button is ...
-1
votes
2
answers
35
views
Flutter - custom radio button
how can i achieve this kind of RadioButton
1
vote
1
answer
47
views
If one radio button is checked then a function should run, but if another is checked then another function should run, but it does not work
This code doesn't work. The group of functions inside each conditional works fine if one group or the other group is alone in the .js file
I want the name of the planet to appear (by clicking on it) ...
0
votes
1
answer
35
views
Pass checked html attribute using Html.RadioButtonFor
I want to use @Html.RadioButtonFor(expression, value, htmlAttributes) in ASP.NET MVC with one of the radio buttons checked by default, but it is not working. I've read a lot of posts about this in ...
-1
votes
1
answer
21
views
Django Forms Radio Button
I had made a form using django forms and call it to a template but while I select a radio button it won't pick what's the solution
''' html section '''
<div class="form-row ...
0
votes
0
answers
22
views
Data not showing after adding radio buttons
risklisting_layout = html.Div([
html.Br(),
html.Br(),
dbc.Row(dbc.Col(html.H4("HR ...
0
votes
0
answers
14
views
Multichecklist Recyclerview in kotlin
I'm lost, I need some orientation.
I need insert one checklist with many checkoption (boolean) (1 to n)
(one checklist have many checkoption, many checkoption have one checklist)
What do i need to ...
0
votes
1
answer
28
views
Why do the radio buttons show the value of the previous page and not render unselected
If I select a radio button on the first page and click on "Next", the "same" radio button on the second page is also selected. Why?
I tried to narrow down the example below to the ...
0
votes
1
answer
25
views
Faster way to use radio buttons functionality without using radio buttons?
I have a web page that loads in 14 images as selectable icons as radio buttons. Right now those buttons work where selecting one deselects another, which is my desired functionality.
Problem is that ...
0
votes
0
answers
37
views
How to "lock" radiobuttons after selection in shiny?
i have simple shiny app as follows:
ui <- fluidPage(
radioButtons("radio",
"Check one option",
choices = c("1"="1",
...
0
votes
1
answer
23
views
How capture the input radio value in javascript?
For example I have the next options in html, define the global name and different id to each input radio:
<form id="mokepon-form">
<input type="radio" name="...
0
votes
1
answer
32
views
How do I make this Tkinter Radiobutton in Python only add the letter that's been selected once, instead of adding the first letter two times?
I am trying to make a Python app with GUI using Tkinter that would allow user to select a letter from a choice of two letters, then the letter that's selected right before the user closes the tab to ...
0
votes
3
answers
36
views
Saving radio group checkedId with SharedPreferences to make the radio button selection to be the same when resuming Kotlin
I'm trying to program an android app with android studio that counts steps taken by the user. I'm trying to make a settings/options activity where the user can both set their height and preferred ...
0
votes
0
answers
20
views
How to use a variable name in querySelectorAll input? [duplicate]
I am new to Javascript and have a question regarding the querySelectorAll function. I have a number of radio button sets that use name="Buttons0" , name="Buttons1", name="...
1
vote
2
answers
27
views
Flutter Radio clickable for all row instead of just the radio button
I'm able to successfully apply the radio button on click on just the radio button but I'm looking for a way around how to apply the onclick of radio of the whole row below is my code :
Row(
children:...
0
votes
2
answers
29
views
BeautifulSoup: Extract the label of checked radio button
I have the radio buttons followed. How can I get the text of the checked radio button by python3? In this example, it is Equal Width.
<li>
<input class="bRadio" value="...
0
votes
0
answers
41
views
RadioButton in GroupBox not working - WinForms - Pythonnet
I'm working with pythonnet and Windows Forms and have some trouble with RadioButtons.
I want to create two sets of RadioButtons, where I can select one element only in the first set, and one element ...
0
votes
0
answers
29
views
How do i use filter to filter multiple radio buttons in django template in Django
How do i use filter to filter multiple radio buttons in django template in Django...I want a situation where when you select multiple buttons it filters the cars based on how many cars you have ...
-4
votes
2
answers
124
views
How to correctly override TRadioButton and add a property to the TRadioButton class?
In a 32-bit VCL Application in Windows 10 in Delphi 11.1 Alexandria, I have 5 TRadioButton controls directly on a TRelativePanel. I want to use 3 of them as an INDEPENDENT Group without using a ...
-1
votes
1
answer
27
views
In Vue3, how to check value of each radio button checked from a single group of radio buttons?
I have just started training with Vue3 and really like it a lot. But I am stuck at some issues which seemed much easier (intuitive) with vanilla JS.
I have this group of radio buttons which have same ...
-1
votes
0
answers
37
views
How to check, if radio button was checked when I was clicking on it and then preventDefault?
I would like my script to do nothing when a user is clicking on a radio button, which was actually checked before (for now, it is bound which many different events, which code I wouldn't like to ...
0
votes
0
answers
18
views
Why radio buttons group allow single element?
I stumbled upon the following (whatwg):
A tree must not contain an input element whose radio button group
contains only that element
I was expecting that the following code would have some errors, ...
0
votes
0
answers
27
views
Can we use nested controller with react hook form
I am trying to add a Controller inside a Controller. Is this allowed ?
I am getting a typescript lint error
'onChange' is already declared in the upper scope.
How can I fix the same ? I have the ...
0
votes
0
answers
21
views
How to get the selected radio button value to display in the Size text input box?
HTML code with radio buttons
Whichever option is chosen here should be shown in the input box below
`<div class="Choosesize">
<details>
<summary class="...
0
votes
2
answers
37
views
Let radio buttons keep value after refreshing
I am making an absence control where you can select the absence per user with radio buttons. Per user you can select either Present ("Aanwezig"), Absent("Afwezig") or Allowed ...
1
vote
1
answer
26
views
Every button changes at once in listview builder but i want to operate specifically or single how can i do that?
Every button changes at once in listview builder but i want to operate specifically or single how can i do that?
This is what happens GIF
@override
Widget build(BuildContext context) {
...
0
votes
0
answers
16
views
UI not showing the updated data
I have a widget(JavaScript &Html) that displays multiple user names along with Radio button selection for each user in Edit page. After selecting the radio button for each user, the continue ...
1
vote
0
answers
53
views
Xamarin radio buttons not displayed with Orientation = "horizontal"
Follow-on question to xamarin radio buttons not displaying.
I've created a public git repo at https://github.com/GrumpyPacker/HR to reproduce the issue. Since the data that I'm displaying in the ...
0
votes
0
answers
45
views
Issue of multiple selection of radio buttons generated using map function in React.js
I have a list of names in an array and am generating two radio buttons as Present and Absent corresponding to all names using the map function. Now when I select a single present button for any name, ...
0
votes
1
answer
25
views
How to set/manipulate an unbound Option Group in MS Access?
I made an Unbound Option Group in my Form that looks like this:
Its Option Values are 1 for Available, 2 for Reserved, 3 for Unavailable and named as check1, check2, check3 respectively. In my ...