12,031 questions
-1
votes
3
answers
109
views
How do I use JavaScript to display a div when a radio button is clicked on separate HTML sections [closed]
I'm building a site in WordPress that uses the donation plugin Charitable. On the donation page, there are two sections with two sets of radio buttons for donation values. The plugin does not have a ...
0
votes
1
answer
79
views
Flutter RadioGroupPolicy can't be used for a radio group that allows multiple selection
I'm trying to migrate to the new RadioGroup API.
But I'm getting this error:
RadioGroupPolicy can't be used for a radio group that allows multiple
selection.
Here is my current code 👇
RadioGroup(
...
1
vote
3
answers
139
views
How can I check (activate, select) an OptionButton with VBA?
In my excel sheet I put 2 OptionButton objects:
in my VBA macro I added:
Sub OptionButtonDebugOff_Click()
debugmode = False
End Sub
Sub OptionButtonDebugOn_Click()
debugmode = True
End Sub
...
0
votes
0
answers
86
views
TMAP v4: group.control Radio not working with Basemap and Potential Bug with special characters (german Umlaute = mutated vowels: ä,ü,ö)
I am trying to create some interactive tmaps. I wanted to take advantage of the radio buttons in TMAP v4, to display different data inside the same .html-file.
My first question is around using group....
0
votes
3
answers
129
views
Javascript, Radios And Checkbox: How to make a "checked" item work upon opening
This code is a demonstration of two features, the checkboxes and the radios. A black-bordered box appears with two ways for you to change its style. Check on the checkbox to change the border to a 5px ...
1
vote
0
answers
91
views
The inside of an expo-radio-button RadioButtonItem is square since an update of my Expo SDK
I am using expo-radio-button in my React Native Expo project. They have been working properly since I first used them, but since an update from Expo 51 to 54.0.8 the inside of the radio button circle ...
0
votes
0
answers
214
views
How do I set the selected value of a radio button in PowerApps?
I am using Power Apps to create a form. The default Form control is not great and does not give you the flexibility to separate questions with a banner, for example. Additionally, forms don't do well ...
6
votes
3
answers
3k
views
Flutter 3.35.2: What is the replacement for deprecated groupValue and onChanged in Radio widget?
I recently upgraded my project to Flutter 3.35.2 (Dart 3.9.0), and I’m seeing deprecation warnings when using the Radio widget.
Here is the simplified code:
Radio(
splashRadius: 0,
value: value,
...
0
votes
1
answer
49
views
How to set RadioButton checked on ReactNative?
This code uses RadioButton provided from React Native Paper
<RadioButton.Group
onValueChange={value => setValue(value)}
value={value}
>
<RadioButton....
1
vote
2
answers
129
views
How to change default radioButtons() color from blue to gold in a Quarto Shiny dashboard?
I'm building a Quarto dashboard with Shiny runtime and using a plain radioButtons() control in the sidebar:
---
title: "Quarto Dashboard with Radio Buttons"
format:
html:
theme: cosmo
...
1
vote
3
answers
82
views
Cannot retrieve value of selected radio button
I used Bootstrap to create the radio buttons:
<div id="heightForm">
<legend class="h">
Height:
<div class="form-check form-check-inline weightChoose ...
0
votes
3
answers
77
views
Error entering search after clicking a radio button using Selenium in Python
The aim of my program is to enter a set of postcodes into a flatshare website (https://www.spareroom.co.uk/flatshare-house-share/uk/) and return the number of rooms wanted and rooms available for each ...
-2
votes
2
answers
75
views
Many Radio buttons as Toggle buttons with altered style
I have in my WPF application 20 radiobuttons. I want them to look like togglebuttons and have 2 states:
With content "IN" and green background when they are unchecked
With content "OUT&...
0
votes
0
answers
26
views
Xamarin - Radio button in code dynamic grid text answer binding
I cant work out how best to solve this and bare with me, I am a beginner.
I have a list of "questions" built within a dynamic grid in code. Each question requires a string answer to be ...
0
votes
0
answers
35
views
Preact radio button selection not triggering state updates in Innovation Index Toolkit
I'm working on an Innovation Index Toolkit using Preact with signals for state management. The issue I'm facing is that I cannot navigate to the next question because the radio button selections aren'...
0
votes
0
answers
66
views
How to set default/placeholder value of radio button without altering bound model, Livewire 3
I have a form containing some inputs, one of which being a radio box group. I would like to use something visually similar to a placeholder 'checked' value for my radio buttons, so that users know ...
0
votes
1
answer
71
views
Why does my radio button binding not work properly?
I have trouble with the binding of radio buttons in Blazor. I created a blazor fiddle. Please test the following:
Open the fiddle.
Click some radio buttons and see that the text input is updated ...
1
vote
1
answer
52
views
Radio button options are not being rendered
I'm working on an ASP.NET Core MVC app that has radio buttons. The application fetches the DocSource choices from the appsettings.json file.
{
"Logging": {
"LogLevel": {...
0
votes
0
answers
92
views
Radio button group appearance not updating for custom export values
I'm using pdf-lib in a Node.js project to fill out a secured PDF form that contains a radio button group with custom export values and appearance dictionaries. The PDF is encrypted (password-protected)...
0
votes
0
answers
70
views
Radio button triggers errors
I have a problem with my form.
First of all, instead of testing this form on a modal, I tested on a page.
I am getting the following error on the modal but not the page.
The error is triggered when I ...
1
vote
1
answer
122
views
Firefox 136 Changed Radio Button Appearance in ruby on rails app with Bootstrap 4 – How to Restore Previous Style?
In my Ruby on Rails app (Ruby 2.6.6p146, Rails 6.1.3.1, Bootstrap 4.6.0), I have radio buttons that were consistently displayed in a fixed style across all versions. Until Firefox version 135.0.1, the ...
2
votes
2
answers
289
views
I added custom accent-color to to radio input, but now it has black padding. How do I remove or change that padding?
I added a custom accent-color to radio input buttons, but it also added black padding around the custom color. Any ideas how to remove it?
Accent Color Image
.my-radio-btn {
margin: 0px;
...
0
votes
0
answers
104
views
How to 'disable' & 'grey-out' an Excel's Form Control 'Option Button'
Need to disable an 'Option Button' whether by coding or manually. That 'Option Button' must be greyed-out with 3D appearance when disable. I am using M.S. Office LTSC Professional Plus 2021.
I have ...
1
vote
1
answer
45
views
Misaligned Radio and checkboxes with respective to their labels
I am creating a Listing page for pet adoption in react and Material UI.While making first page,I am facing an issue regarding misalignment of radio buttons and checkbox with their labels.Checkbox and ...
2
votes
2
answers
176
views
.NET 9 Maui How to Dynamically Change the Text Color of a RadioButton Based on Its Selection State
I am trying to customize the appearance of a RadioButton in .NET MAUI, with the goal of dynamically changing the text color based on its selection state (Checked/Unchecked) and using the button's ...
-1
votes
1
answer
72
views
HTML form not sending expected value of radio button, sending "on" instead
<form action="admin_review.php?opt=newReview" method="post" >
<fieldset>
<legend>Review Type</legend>
<div class="...
0
votes
1
answer
55
views
Tapestry RadioGroup with radio button in loop
Using tapestry 5.6.2
I want to do something like this
<t:loop t:source="orders" t:value="order">
<t:RadioGroup name="shipping">
<t:loop t:source=...
0
votes
0
answers
15
views
How to replace a string with the option value from the form?
I am trying to develop a plugin in wordpress and learn PHP. I made a regrettform setting page in plugin in admin area and the form is working just perfect.
The mail attachment is achived with use of ...
3
votes
1
answer
107
views
Generating a list of radio buttons in GTK3 (C)
I'm trying my hand at GTK UI and need help with the following problem ; I couldn't find too much material about it online.
Using GTK 3, in the C language and on Linux, I am trying to generate a UI ...
0
votes
1
answer
56
views
SurveyJS Bug? Question Name = '0' causes options to not show in logic
Naming my question '0' (zero) results in me not being able to select a chosen option in Logic.
Of course I could easily change this, however this should match the screen ID where 0 is the landing ...
1
vote
1
answer
63
views
DataTable selection with radioButtons not working
I have a p:dataTable that is editable via RowEditor. Now, I want to add a single selection per radio button (since rowSelection by simply clicking on the row does not work with cellEditor).
The issue ...
0
votes
1
answer
96
views
In Odoo 17, how can I limit the radio button choices based on the choices on the other fields
I need to make the radio button option to only "container" when the values of the other fields are as follows: direction='export', transport='ocean' and ocean_shipment_type='fcl'.
Here are ...
0
votes
2
answers
48
views
Angular to display some content based on radio button selected
I have two radio buttons. When I select "Partially paid", then input element formControlName="paidamount" will be displayed in screen along with <div class="formGroup"...
-1
votes
1
answer
215
views
React 19 Radio button bug - appears unchecked after form submission even though controlled state is checked
I have a weird issue with radio inputs. I have form in Next 15 (React 19) with a controlled state. The problem I'm having is that when I submit my form, the checked radio input is suddenly appearing ...
0
votes
1
answer
36
views
ASP.NET Core MVC - Radio Button Selection Not Persisting During Edit
I'm working on an ASP.NET Core MVC application where users can manage categories. I have a partial view (_AddOrEditModal.cshtml) used for both creating and editing categories. This partial view ...
1
vote
1
answer
25
views
VBA Option button "other" jumps to textbox
I have a UserForm1 with options why the discount is applied. One option is "Other".
I would like to "jump" into the Textbox associated with the Option button OptionO and vice versa:...
2
votes
3
answers
227
views
Is it possible to animate a radio button on selection change without using JavaScript?
I'm making a selection bar for an app by using heavily styled radio buttons so I can make sure there can just be one element selected at a time and also using handy styling tricks so I had to code ...
0
votes
1
answer
52
views
How to automatically select the opposite radio option in a second disabled Radio Group using Ant Design?
I'm using Ant Design's Form and Radio.Group components to create a form with two radio groups:
Gender Selection: Allows the user to choose "Male" or "Female."
Preferred Gender (...
0
votes
1
answer
39
views
Wordpress - Checkbox required doesn't validate
I am trying to make a checkbox required in order to proceed to the next page. I am develping inside of functions.php. Does functions.php not allow the required inside of regular HTML tags?
Here is ...
0
votes
1
answer
33
views
Flutter textField automatically sets state
I have a list of RadioListTile in a DraggableScrollabeSheet. When I tap on one of the RadioListTile, a TextField appears. But immediately I tap on the textField, I get a SetState response and option ...
0
votes
2
answers
64
views
How can I make a column of Radio Buttons closer in Flutter?
Here's what my UI looks like right now:
I can't seem to get the AD and BC Radio buttons closer together. It looks like they are lined up with the top and bottom of the TextField.
I've tried ...
1
vote
2
answers
195
views
How to remove mudblazor keyboard navigation on radio button
How to remove mudblazor keyboard navigation on radio button.
(https://mudblazor.com/components/radio#keyboard-navigation)
I tried to replace the @onkeydown event without success, it seems to be ...
0
votes
1
answer
86
views
Paint multiple radiobuttons based on variable
I've got multiple radio buttons and want to paint them based on a variable.
The base code I've found here:
Changing 'lamp' Colour Indicator within the Graphical User Interface (Visual Studio ...
0
votes
1
answer
116
views
How do I make a HTML.RadioButtonfor be checked by default
I have a Visual Studio, .NET 8 Razor project. I have a model that has a few bool properties. The page works like it should with one exception. I can not get the radio false buttons to be checked by ...
0
votes
2
answers
115
views
How do I make an HTML radio button form change the value in another box?
I am trying to make a rubric using radio buttons. So far, I have a form with radio buttons and a section at the top for the grade. I'm wondering if there is a way to program the grade section to ...
0
votes
3
answers
154
views
Radio Button Background Not Changing on First Click in React Component
I'm working on a React form where I'm trying to change the background color of a label when a radio button is selected, but when I click/check the button it first update the state and on second click ...
0
votes
2
answers
96
views
ContentTemplate is not applied for RadioButton
I have this code in my XAML file that supposedly should style the RadioButtons of the Page, which pretty much is an approach I have found here on StackOverflow:
<ContentPage.Resources>
<...
0
votes
1
answer
75
views
type data for props undefined in local component vue3.js with import tag Vue3, Vue3 needed for a alone page
The use-noms-cpnt component is as follows:
<div id="app">
<use-noms-cpnt></use-noms-cpnt>
</div>
I have an App component and an App mounted like this, I put a props ...
0
votes
1
answer
38
views
Data don't be updated after fetching data in global app vue3.js without components in twig symfony render
I need vue3 on a single page and I can't update the value of useNoms with vue3 without components...
The App.js without components to be more cleared:
const app = Vue.createApp({
data(){
...
0
votes
1
answer
41
views
React Bootstrap Radion Buttons how to set default value
I am getting values of radio buttons from array and listing these options.
When I map all elements of array, by default none of the options is selected.
I tried to set first option with "checked&...