Most voted "radiobutton" questions
`radiobutton` are elements used in forms. They allow a user to select exactly one of a limited number of options.
Learn more…91 questions
Sort by count of
-
7
votes6
answers1015
viewsHow could I highlight the radio button that is selected?
I own this radio group which serves to specify the severity level of a given occurrence, using the colors to classify the level. Behold: <html lang="en"> <head> <meta…
-
6
votes2
answers970
viewsInput radio that looks checkbox?
I need to do a quiz, and the alternatives are radio inputs, but it looks like custom checkbox. What’s the best way to do that? .tabs-below > .nav-tabs, .tabs-right > .nav-tabs, .tabs-left >…
-
5
votes1
answer5204
viewsHow to create a Radio button with image?
How can I make a Radio Button turn into an Image? I need to make an image gallery inside a form to, when clicking on the image would be selecting a radio button as in the image below:…
-
5
votes1
answer3305
viewsHow do I uncheck the previous radio button after selecting another one?
I have five radio button, of these five one is "marked", as I do to unmark the radio button that I clicked after clicking on another? Example: <fieldset>…
-
3
votes1
answer791
viewsHow do I show a clicker while processing a javascript function?
I have a radio button that when clicked, performs a function that mounts a datepicker. But the function mountDatepicker is only loaded after a few seconds, after consulting the three Apis to then…
-
3
votes1
answer335
viewsGet the most selected radio input with Javascript
I’m putting together a test, I just have the html structure done, I wanted to know how to know which of the radio input is most selected. Ex.: Most selected was "A)" then when submitting the form,…
-
3
votes2
answers322
viewsDIV only clickable if RADIO is marked
I wish my <button id="bottaaoPA">Comprar</button> was only clickable if the radio were marked. Code: $(function(){ var contador = 0; $('.pa').click(function(){ if(contador === 0) {…
-
3
votes1
answer1726
viewsChange color of radio button
I have an application that has black background. In one of the screens of the application I have a RadioButton. I need to change the color of this Radiobuttom so that it appears on the screen.…
-
3
votes1
answer732
viewsSelecting a Radiobutton from a Radiogroup, according to one condition
I have a radiogroup and according to one condition should be selected one or the other. How to make it go up to the screen as described below? Code: private RadioGroup mSwitchButtonGroup; private…
-
3
votes0
answers83
viewsInventory with Android
I’m trying to create an app for product control type an inventory, in case the user selects on RadioButton the product and then with scanner will read the equipment serial. The scanner is working,…
-
3
votes2
answers2956
viewsHow to change the color of a radio button?
I have these radio Buttons in which it serves to specify the level of severity of a given occurrence. And I’d like to know how I could change their color? Follow this illustration example: <link…
-
3
votes2
answers113
viewsTabstop de Radiobuttons independent of the Checked property
I have a set of Radiobuttons, Edits and Labels inside a Groupbox, as in the image below: I would like in the use of Tab the focus did not pass in any Radiobutton, and yes only in the Edits, for…
-
3
votes1
answer83
viewsCode works with a messagebox but no no?
Good afternoon, I’m doing a little school work to learn how to control radio Buttons with a switch in winforms public Form1() { InitializeComponent(); Form1.CheckForIllegalCrossThreadCalls = false;…
-
2
votes1
answer3659
viewsHow to customize checkbox/radio without using background: url?
Whenever I search for "customize", "checkboxes" and "radios", examples appear using background:url(image.png). There is a way to customize a "checkbox" with "CSS only" without use background:url?…
-
2
votes1
answer4469
viewsHow to add color to radio?
I want to create a form and I want to include a kind of "option select" of HTML radios, it should look like a semaphore: 3 different colors indicating their values (good, regular and bad). I’ve been…
-
2
votes2
answers444
viewsHow to create a function to clear the group of a radiobutton?
I am working on a typing system of a paper form, where I have some options of radiobutton, for example: <fieldset> <legend> Disponibilidade de energia elétrica? </legend> <label…
-
2
votes1
answer163
viewsManipulating Radiobutton to have no value in any field
I need your help: I have two radiobutton, and I wanted to turn them into checkbox, only I can not change the type for checkbox, on this radio I could make to select and to remove if you want. Could…
-
2
votes2
answers1855
viewsHow to save Radiobutton value and convert to String
I’m having trouble finding a code that works. Below is the code I’m using in Android Studio, this code takes the form information and sends to a php file to save in the database, is working well.…
-
2
votes1
answer199
viewsQuestion about radio button
I have a form that has two buttons radio: 1-masc 2-fem. I want when one of them has pressed, and I click "calculate" he pull the if indicated for each radio. <form name="calc" method="post"…
-
2
votes1
answer56
viewsProblems with . clone() to radio Buttons
I’m making an "add" button that every click adds a div com Radio Buttons below the div itself. I have trouble clicking on the radios that when I click on of some added line and click on another line…
-
2
votes1
answer13850
viewsWorking with Radiobutton and Radiogroup
I’m trying to make a screen where the user would have to choose between the options on <RadioButton and if he chooses the right one counts for the right one and otherwise for the wrong one,…
-
2
votes2
answers794
viewsRadio button check with BD data
I’m having trouble taking the data from the database and passing via Session to my form, all the input data is coming correctly, I just can’t pass it as check for my radios... I tested in various…
-
2
votes2
answers46
viewsHow to prevent a command
I would like to prevent my record from being saved if the radiobutton were not selected. My code: private void btnSalvar_Click(object sender, EventArgs e) { if ((rdbMasculino.Checked == false)…
-
2
votes2
answers2085
viewsRadio button selection return in C#
Good morning. I have a Groupbox that contains 5 Radiobutton. I have a function where it receives the name of the Groupbox and it returns 1 if any Radiobutton is selected and -1 if no Radiobutton has…
-
2
votes1
answer118
viewsRadio input(materialize) animation does not track properties
I am trying to manipulate the radio input dynamically and the property(checked) of the element is being manipulated correctly, but the animation of the field does not follow this dynamic, the first…
-
2
votes3
answers2922
viewsDynamic table with addition of rows and columns
Is it possible to create a dynamic table with the addition of rows and columns? According to the picture, the situation is: - Starts a table with 3 columns and a row; - Whereas the first line and…
-
2
votes1
answer362
viewsSave selected radio button option for future query
I wonder if you can save in one DataTable (or something like, to be consulted later) information that a radioButton was clicked. I am making a simple program for a client to report three information…
-
2
votes2
answers90
viewsHow to leave a radiobutton marked as default on Ember
I have these two Components radio-button. I’d like to leave the Pessoa Física marked/checked as default. How do I do this in Emberjs ?. <div> <label>Pessoa Física</label>…
-
2
votes3
answers320
viewsRadio alignment with image
I’m trying to center a radio item - a selection "ball" with an image. But I’ve tried several resources using CSS and I’m not getting it. You know what feature I can use to achieve this alignment?…
-
2
votes2
answers75
viewsSlides, transitioning images with JS and radio, while leaning the mouse over the image pause the transition, while removing continue the transition
onload = start; function start(){ var i = 1; function Move(){ i = (i%3)+1; // 4 is the Number of image in slider document.getElementById('t'+i).checked = true; } setInterval(Move,3000); //change img…
-
2
votes1
answer39
viewsCheck if at least one RADIO BUTTON has been checked
I am creating a dynamic form, in it there can be X fields to fill, for example there can be 10 inputs Texts, 5 selects, 3 Radio etc I created the whole structure to assemble this form in a dynamic…
-
1
votes0
answers177
viewsMultiple selection of radiobutton
I’m making a registration form that has the link Add more fields and when the person clicks on it, multiplies the form fields. One of these form fields is 2 radios Buttons, which are "Do you have…
-
1
votes1
answer54
viewsHow to define a boolean value of a Radiogroup
Example: EditText etNome = (EditText) findViewById(R.id.etName); EditText etAge = (EditText) findViewById(R.id.etAge); RadioGroup rgClienteVivo = (RadioGroup) findViewById(R.id.rgClienteVivo); If I…
-
1
votes1
answer66
viewsRadio Button how to set up please help me
I’m doing an app creation project here at college aimed at power generator, for this we are using the Eclipse, in case you would like to know if(radioButton1.isChecked()){ How do you make it when…
-
1
votes1
answer945
viewsHow to control a Radiobuttonlist via code
I am using C# Asp.net web Forms I have two Radiobuttonlist <asp:RadioButtonList ID="rblGrupo" runat="server" AutoPostBack="True" CellPadding="5"…
-
1
votes1
answer941
viewsRadiobutton and Checkbox Soma
Guys I here a code in js that when selecting a checkbox it displays the value of the checkbox in an input and if I select more than one it sums the checkbox selected and displays the total value…
-
1
votes2
answers89
viewsWhy only save the last record in the table?
Guys, a little help here, please! <%= form_tag(portabilizar_portabilidades_path, name: 'form', method: :get) do %> <table class="table table-condensed table-bordered table-hover">…
-
1
votes3
answers711
viewsSplit form with radios in 2 columns
I have the following form: <?php echo"<form class='form-horizontal' method='POST' action='reposicao.php'>"; echo"<fieldset>"; echo"<legend>OPÇÕES</legend>"; echo"<input…
-
1
votes1
answer1091
viewsTake Range button value and run function in real time
I need that in javascript pure and in real time the same value is picked up and depending on it (if it is 1, 2, 3, 4, 5) only the corresponding div appears! var inputvar =…
-
1
votes2
answers174
viewsWebgrid with Radiobutton
I want to select a line from Webgrid through a Radiobutton and by clicking the button Visualise, carry a partial view with the information of the selected line. How do I pass the information from…
-
1
votes1
answer476
viewsRadio Button on C#
Hello, I have a registration screen and save everything ok according to the data filled, but when I click the change button returns all values entries, but does not return radio button selected as…
-
1
votes4
answers1089
viewsHow to change the color of the radio button text when losing selection
I am trying to change the color of the radio button text when losing the selection. It turns out that these radio Buttons are on several tables. The rule is as follows: The screen will be loaded…
-
1
votes2
answers518
viewsShow/ Hide Fields using radiobutton and jQuery
How do I make the fields come hidden and only appear with a radio selection? Below I will put the fields and the script I use to hide as I click (what is already working) my problem is, that when I…
-
1
votes1
answer345
viewsValidate Radio Button Javascript + MVC Razor
Need to validate if all my Radio have been checked, can you help me perform this validation on JS? My cshtml is mounting the radio’s through a Model List<> . <div id="checklists"…
-
1
votes1
answer196
viewschecked="checked" does not work on ng-repeat
I’m working on a resume feature where basically the user will click on a respective radio button in which he has experience. The problem is that for a list it will come from back-end, that now she’s…
-
1
votes0
answers34
viewsRadio Button back with old value
Hello! I have the following code: <div class="resposta"> <label class="radio-inline" style="padding-right: 20px;"> <input type="radio" name="1" value="S" {{ old('resposta1') == "S" ?…
-
1
votes0
answers35
viewsjQuery does not capture custom radiobutton clicked (click)
I have a simple HTML that <input name="chave_binaria" type="radio" id="radio_39" value="1" class="with-gap radio-col-green" checked> <label for="radio_39">Esquerda</label>…
-
1
votes1
answer122
viewsSave image URL inside the value of a radio input
I need to take the value of one radio and use it to call an image, follows example below: function raceimg(elemento){ document.getElementsById("raceimgchange").src = elemento.value; };…
-
1
votes0
answers71
viewsHow to make the Radio Button appear checked if the database is updated Android Studiop
I’m making an app with questions and answers, I have a radiogroup, a textview and 3 buttons: confirm, next and back. I am trying to get once the question is answered, when returning in that question…
-
1
votes1
answer132
viewsForm inside form with input problems
I am with a project and I am developing a questionnaire. Each question has five alternatives and these questions are on the same page, within divs, and within it form. Follows the code: <form…