Most voted "checkbox" questions
Reference tag for checkbox component in several languages/frameworks.
Learn more…308 questions
Sort by count of
-
0
votes0
answers22
viewsHow to pick up and display PHP deselected checkbox data
I have a table where a column consists of checkbox. In the future, the status of these checks will be saved in a database for automatic loading, but at the moment, for the purpose of testing and…
-
0
votes2
answers123
viewsupdate div with checkbox value marked
const inputs = [...document.querySelectorAll("input[class='serv']")]; const res = document.getElementById("resultado"); const total = res.querySelector('[name="total"]'); const nomes =…
-
0
votes1
answer100
viewsPopular checkbox with jQuery
I need to popular the input with data coming from jQuery. I got the following input: <label> <input type="checkbox" id="turmas"/> </label> In the jQuery I have the following code:…
-
0
votes1
answer93
viewsUncheck Checkbox
I need a function that unchecks the checkbox when the row passes the table. Currently, when I move the row from one table to another, the checkbox is still checked and this hinders, I need that when…
-
0
votes1
answer189
viewsCheckbox reactjs with default value
I am working on an application with React, however I am beginner in the subject and found a problem. I want to generate a template to be used later, and the options of this template are optional and…
-
0
votes1
answer66
viewsLoad checkbox explodes
I made a code with explode to carry checkbox of banco, however, it is only loading when it contains data in the exact order of variables, for example 'Theater 1, Theater 2' carries, but 'Theater 1,…
-
0
votes0
answers76
viewsCheckbox does not send "False" value when performed Submit - Asp.net MVC
I have a mvc project in Asp.net core and I’m having problems performing a Submit. Well I "Seto" the properties of my Personal Model. return new PessoaContatoCorreioEletronicoViewModel {…
-
0
votes1
answer237
viewsChange checkbox value from radio
I wish that when it was selected "brother" in the radio the value of checkboxes fold. function soma_valores(campo) { if (campo.checked) { var valor_anterior =…
-
0
votes3
answers41
viewsCheck checked items and apply logic
Good morning, I’m studying javascript and I came across a problem: I created a logic where I provide two buttons, one to free access that when clicked is on the screen only the check icon, and the…
-
0
votes1
answer242
viewsHow to enter checkbox validation logic and display message if not selected
Currently, in my quiz, the user can proceed to the next question without at least selecting an answer option. I am trying to put a condition where If an option is not selected, display an alert…
-
0
votes2
answers166
viewsform-check-input (check if no option has been selected)
reference link: http://www.dapweb.org/dapdaniel/rosiane/temporada.php I have a form with some options arranged in check boxes, to change them according to the click I am using AJAX, the following…
-
0
votes1
answer557
viewsSend checkbox value not selected by form
I have an html form, and in it I have an input checkbox, I need to send the value of that checkbox independent if it is selected or not, if it has selected send 1 if it has not sent 0. So when it is…
-
0
votes2
answers146
viewsReturn all checkboxes unchecked via jquery
I need to identify all checkboxes UNCHECKED to add a class by jquery to them, but whenever I submit the form with 1 or 2 checkbox selected, all other checkboxes deselected end up selected. //Valido…
-
0
votes2
answers46
viewsReturn of a Checkbox to Javascript
I need some help, I looked at the posts before a similar subject, but I couldn’t find an example like mine, if you can help me, thank you. I have an Edit View that already brings the registered…
checkboxasked 5 years, 5 months ago Wilson Eloisa 9 -
0
votes1
answer97
viewsDelete records from selected checkboxes with angular
I need to create a function that deletes records according to the checkbox(s) selected(s). I was able to select these Ids for each checkbox and include them in the array "Selected" through function…
-
0
votes1
answer102
viewsHow to correctly check the status of a Checkbox in js?
I need a feature where Checkbox are nestling together. In this way, the parent element would select all children and so on. My logic was this: As I will receive this data externally, I can…
-
0
votes1
answer75
viewsHTML checkbox for Javascript
Hello I need to make a system that updates the total price as the items are being selected, but I don’t understand much Javascript, so I stuck to the following part: (HTML) <input type="checkbox"…
-
0
votes2
answers373
viewsControl div from a checked checkbox
I have a checkbox list (*ngFor): <div *ngFor="let item of listaProcesso"> <input type="checkbox" ng-model="check" (ngModelChange)="expression && expression[item.name]= $event ? true…
-
0
votes2
answers497
viewsCheck Box is not unchecking when clicked again - React Native
I have a code with 3 Checkbox and when pressed it does not uncheck... Another remark, as I would for when the "UE/HQB" is selected and the others stay disabled={true} or by first selecting any of…
-
0
votes0
answers58
viewsImplement checkbox in Recyclerview?
By clicking on the checkbox I run the list click (opens an Activity). To check the checkbox you have to keep pressed. I understand it could be this one click conflict over another. How can I then…
java android android-studio checkbox android-recyclerviewasked 4 years, 9 months ago Lucas Fernandes 1 -
0
votes1
answer291
viewsReact hook form checkbox always true
I have a question when receiving the database data for my checkboxes. Even the value coming false from the bank, the checkbox is checked. I’ve tried several forum responses but I must be missing…
-
0
votes2
answers85
viewsExchange on click for checkox checked
Hello, I have a function that works perfectly in javascript use an ajax when clicking the button to send my data, only now instead of clicking the button, I want to change for when the person marks…
-
0
votes1
answer251
viewsDynamic checkbox does not work (Vuejs)
I am developing a Feature that lists products and their status (enabled, disabled). To choose the state of the product, I am using a checkbox in toggle-switch format. <div class="col-md-6…
-
0
votes2
answers54
viewsJS to add online checkbox
I don’t know much about you, so I need some help. I have a page that generates a form with a quotation map, in columns (each supplier in a column), and I need the user to select the checkbox he make…
-
0
votes0
answers64
viewsCheck whether the checkbox is checked or unchecked by loading the page and changing the class to enabled
Through the Storage location I can always keep the checkbox active or disabled even if the page is reloaded, the problem is that I could not validate if when loading the page the checkbox is checked…
-
0
votes1
answer203
viewsDisable Components with Angular
I have a list with checkbox (inside a table) and need to disable all screen components when a checkbox is marked. I’m trying to use the ngClass with disabled, as follows: <div…
-
0
votes1
answer105
viewsFlutter - Mobx and Checkbox()
I’m using Mobx and I want to create a checkbox list, that list is already created, however I can’t make the values change when we click the checkbox, although the logic is running and adds items to…
-
0
votes1
answer112
viewsShow and hide fields as checkbox is selected
I need each of these checkbox options (if selected) to show the input field related to each of them. But when I select the checkbox it does not show the related text field that should be displayed.…
-
0
votes1
answer58
viewsHow I add a hyperlink in the flutter Checkbox
Good morning, all right, guys? I would like to add a hyperlink in the "privacy policy" section, and I’m not getting it. Is it possible to do this? If anyone can help me, I’d appreciate it. import…
-
0
votes1
answer26
viewsHow to take values only of checkboxes that are checked and those that were not checked do not return anything?
HTML code <div class="container-fluid"> <div class="row"> <div class="col-lg-12"> <div class="card card-success card-outline"> <div class="card-header"> <h5…
-
0
votes1
answer62
viewsMandatory checkbox in flutter
Good morning, I am developing an application and with the implementation of LGPD has become mandatory in the registration menus a checkbox with the famous "read and accept the terms of use and…
-
0
votes2
answers40
viewsHow to list an Array in a checkbox, breaking by one of the Array items?
I have the Array below: this.ca = this.categorias = [ {cate: 'oquefazer' , tipo: 'ACESSIBILIDADE:', nome: 'Cadeirante' , icone: 'fa-wheelchair'}, {cate: 'oquefazer' , tipo: 'ACESSIBILIDADE:', nome:…
-
0
votes1
answer25
viewsConvert Nodelist to String(?) / Capturing Checkbox values (javascript)
I am creating a form and would like to capture values from it, and while submitting I review it on the screen. However one of the fields is checkbox and the user can choose more than one option, as…
-
0
votes0
answers17
viewsMy checkbox only works on the first click, the second click does not fall in the event Oncheckedchanged="teste_CheckedChanged"
<div class="span3"> <label>testando</label> <br /> <label class="switch"> <asp:CheckBox ID="chkteste" runat="server" EnableViewState="false" AutoPostBack="true"…
-
-1
votes1
answer49
viewsReverse checkbox c#
I have this code. You’re reading my checkboxes from top to bottom when they’re all checked. But what I needed was, when he started reading, I wanted him to start reading from 2.9.15 up. Not 2.9.16…
-
-1
votes1
answer72
viewsMark a checkbox field if one or two options are chosen in the select field
I have a selection field with four options. If option 1 is chosen, I want you to mark a checkbox field (WHITE) How do I do…
-
-1
votes1
answer44
viewsCheckbox selection
Good night, In my app, I need to select a total of 2 Checkbox boxes. After selecting 2 boxes, all others should be set with setEnabled(false). So far so good, but how will I know which box was…
-
-1
votes1
answer2649
viewsValidate checkbox
I am trying to make a form when it is sent check that the check box is selected, if it does not issue a alert asking to select at least one category. The check box field searches for database…
-
-1
votes1
answer473
viewsSelect multiple checkbox with foreach, coming from the bank in Aravel?
I’m populating a checkbox with the bank information, I’m trying to get it to read all the checkbox selected. Controller public function store(RequestProduto $request) { $data = new Produtos;…
-
-1
votes1
answer170
viewsDo I need to create columns in phpmyadmin for every checkbox I created?
I’m creating a hotel website for a school project, and I’d like to know if for each checkbox that I created in the code, I will have to create a column in the database of the phpmyadmin? And how to…
-
-1
votes1
answer66
viewsDynamic checkbox with Ajax and PHP
I am generating a product div with php, in this list I would like to add a check-box with boolean value 0-1 for active and disabling. When the manager clicks disabled the product does not appear to…
-
-1
votes1
answer362
viewsCan I mark a checkbox per button?
I need to trigger a <checkbox> by a button. It can be through Javascript or PHP, something that causes the unique value of <checkbox> be selected. I want it because I intend to hide it…
-
-1
votes1
answer35
viewsCheckbox in grid with ajax - how to send array
Hello! I’m assembling a feature where I need to send multiple chosen records in a grid by clicking on their checkbox... does anyone know how to save these chosen id’s and send via ajax/jquery to a…
-
-1
votes1
answer51
viewsSelect one or more Checkboxs release send button
Hello Folks I am in need of a help on the following question: When I select a checkbox the send button will not be available, but if you select one or more is available. follow the code: <div…
-
-1
votes2
answers63
viewshow Function would look to enable several checkboxes from a Radio type
I would like to checkbox social networks, but only enable if the person clicks on the type="radio" "yes". how Function would look for this in javascript. <label>Possui rede social:…
-
-1
votes1
answer152
viewsHow to call a pure java script function when unchecked and marked a checkbox?
How to do this in pure java script? because there is a need to change the values of an input when checkbox is checked and unchecked. I want basically that when checking the checkbox the values add…
-
-1
votes1
answer131
viewsUpdate the status of multiple ids at the same time Mysqli php mvc
Good morning! I need to "Pick up the selected Ids" and change their status to the option you choose in select status. Bulk editing, same value in the status field for all selected Ids. Models:…
-
-1
votes1
answer102
viewsIs it possible to change the color of a jtable cell of type Boolean?
I am trying to change the background color of certain Jtable cells, but when I change the color of a Boolean column it loses the format of a Checkbox and appears written "true" or "false". I want to…
-
-1
votes1
answer43
viewsJavascript function to mark checkbox depending on condition
I need to do an if Else function in Javascript that if the column "value_set" is equal to '0,00', then the checkbox is checked, if not, the checkbox remains unchecked. This function needs to be…
-
-1
votes1
answer13
viewsCheck php unchecked checkbox
I have several dynamic checkbox that are listed as follows: <?php foreach($configs as $config): ?> <?php echo utf8_encode($config['description'])?><input style="margin-left:10px;"…