Most voted "checkbox" questions
Reference tag for checkbox component in several languages/frameworks.
Learn more…308 questions
Sort by count of
-
0
votes1
answer82
viewsManipulating what will be displayed in the Displaymember of a Checklistbox
I have a Model class: class pessoaModel { int id; DateTime data; TimeSpan hora; CliModel ID_Cliente = new CliModel (); public string Nome { get { return nome; } set { nome = value; } } public int ID…
-
0
votes2
answers112
viewsMark checkboxes when choosing select value, coming from a PHP (Laravel) BD
I have a problem I don’t know how to fix and I don’t know how to look. I’m building a system in the php - laravel. This system will have user levels. I’ve done all the registration, changes, user…
-
0
votes1
answer3215
viewsHow to check if a checkbox in a form has been selected through another form?
I want to check if a checkbox has been selected in a form, because I am working with several forms. Using the following code, : frmPrincipal f = new frmPrincipal(); if (f.chkNotificacao.Checked ==…
-
0
votes3
answers119
viewsError in the Checkbox
I need to make a while in the PHP: while($lo = mysql_fetch_array($ro)) { $id3 = $lo["id"]; $nome_menor = utf8_encode($lo["nome_menor"]); This is ok! This shows the name of the companies listed on…
-
0
votes1
answer688
viewsConvert icone checkbox to icone bootstrap boot
Good evening, it is possible to change the illustration of a checkbox and make it look like a boot? <script src="https://cdn.jotfor.ms/static/prototype.forms.js"…
-
0
votes1
answer281
viewsAssign and send unchecked checkbox value in Larevel
I have a form where the user can enable or disable certain options by checking or not a checkbox. <input name="ppra" type="checkbox" data-oFF-text="INATIVO" value="1" data-off-color="danger"…
-
0
votes1
answer270
viewsChange required field message
How to change the message below and stay with the simplicity and coherence I need? I have the following code: $(function() { var requiredCheckboxes = $('.periodicidade :checkbox[required]');…
-
0
votes0
answers55
viewsHow to read dynamically created components inside a Listview
I created a list of questions that I received from an api, so I created these questions dynamically, I didn’t use.xml layout, it was all by programming. Now I would like to know how I can read the…
-
0
votes0
answers158
viewsLearn which checkboxes are selected on Adapter and perform operations on Activity based on selected checks
Hello, I have a list (Listview) and when I select option 1 in my spinner it from Visible in the framelayout to show on the screen a checkbox to cadad list item with status 0p, I wanted to know which…
-
0
votes3
answers128
viewsI would like a Textview to display the amount of Checkboxes that have been marked
I made several attempts, but I was not successful, here is the code of Mainactivity.java: package genesysgeneration.cbnumber; import android.support.v7.app.AppCompatActivity; import…
-
0
votes1
answer174
viewsHow to assign values to variables through Checkboxes and from there create specific Textviews in another Activity
Guys, I would like to assign values to a variable according to the selection of a particular Checkbox in my project. In an example. If the first checkbox was selected, the following variable would…
-
0
votes2
answers349
viewsCheckbox Switch - One of them must be marked as true or 1
Example: I have 6 different checkboxes. All of them have name="checkbox[]", one of them must be marked with 1 or true. Here’s an example in jsfiddle: https://jsfiddle.net/vh8d9un8/14/ The "SUBMIT"…
-
0
votes1
answer704
viewsCustomize Contact Form 7’s Chekbox
I’m trying to customize a checkbox contact form 7, wordpress, but I’m not getting it! He should stay like this: And he’s like this: The code in the contact form is this: <label2…
-
0
votes2
answers755
viewsHow to make a button or a checkbox become inaccessible in android studio?
I would like it to be confirmed that the choices of both Uttons and checkboxes become inaccessible/irresponsive/inactive. I know you can do this using if, but I believe there must be some function…
-
0
votes1
answer280
viewsSet <option> when checking/unchecking checkbox
I need to reset a select through a checkbox. The problem is the moment I try to access option with jQuery. HTML <select id="selSub"> <option value="0" >Selecione</option>…
-
0
votes1
answer136
viewsHow to make the checkbox 'checked' after saving in the bank?
My checkbox are saving normally, however, when I leave the page and come back, they do not remain checked. Clients.blade.php <body> <form method="POST" action="/user/update/client">…
-
0
votes0
answers93
viewsSet as checked a checkbox recovered from Localstorage
Guys I have a table that each product has the same add-ons and are chosen from a checkbox. Then I check with this function when refresh which were chosen and put checked but because they have extras…
-
0
votes1
answer3766
viewsCheckbox alignment
Talk to me, baby? I’m a beginner, I ended up having a difficulty aligning my checkbox, if someone can give a hint of how I should proceed, follow the excerpt of my HTML: <li> <label…
-
0
votes2
answers83
viewsCheckbox help in C#
I have this code. private void Verificar() { mUpdater = new DatabaseUpdaterService(); mUpdater.Initialize(false, null); DataTable dt = mUpdater.GetVersionCheckBoxToUpdate(); int h = 0; foreach…
-
0
votes1
answer231
viewsSelect Checkbox and enable fields on Android
I am using checkbox and edittext. When the application starts, edittext is disabled. When the user marks the checkbox, the edittext field enables. I’m having trouble enabling. I already put in…
-
0
votes1
answer611
viewsRetrieve dynamic checkbox value in php
I have a table where one of your columns is a checkbox, I need to do when the checkbox are selected click on a "Delete Selected" button where it is possible to recover for me all the values of the…
-
0
votes1
answer469
viewsHow do I show some elements of an array following this criterion?
I have to make a php form that at the end shows the price of each product purchased, showing only the prices of the products that in the other column of the table, were marked in the checkbox: FORM:…
-
0
votes1
answer167
viewsHow to make a checkbox become clickable?
Someone knows how to make the checkbox clickable. I created a new look for my checkbox, but when clicking on the checkbox it is not selected. I want the checkbox to be white and only when it is…
-
0
votes1
answer887
viewsCheck and uncheck all checkboxes
First, there’s this question about Check/Uncheck all checkboxes except disabled checkboxes, however I do not want you to uncheck what is already marked when you click again. I want you to uncheck…
-
0
votes1
answer143
viewsQuestions with Dynamic Checkbox with required or not
Hello, I’ve tried everything with javascript, tutorials I found on the internet, but nothing helps me, I think it’s because my form is dynamic, ie the user who registers the questions and…
-
0
votes1
answer262
viewsHow to maintain previous checkbox status?
I need to maintain the variable’s previous state checked of input guy checkbox, after the page is loaded. In the current state, every time it is loaded, the checkbox returns to unchecked condition.…
-
0
votes0
answers52
viewsHow do I make a check box "checked" when I enter values in 2 fields dynamically?
How do I make checkboxes mark when the user enters values in the two fields? <td class="col-xs-2 col-sm-2 col-md-2 col-lg-2" ><input type="number" max="20" min="0" size="1" maxlength="2"…
-
0
votes0
answers30
viewsHow to Save PHP Javascript Checkbox Table
I have a "checkbox table" and I need to save it in the comic book, obviously later I will need to show, but I don’t know the best way to do it, I’m exhausted from the service and I can’t think…
-
0
votes1
answer271
viewsHow can I show a value in a jTextField when selecting a Jcheckbox at runtime?
private void btCalcularActionPerformed(java.awt.event.ActionEvent evt) { double salario = 0, irrf = 0, inss = 0, valorTotal = 0; FolhaPagamento pagamento = new…
-
0
votes1
answer179
viewsLaravel 5.5 Collective checkbox
So friends all right with you, I’m starting in Laravel and I’m not getting to solve a problem that should be simple. I have a view which inserts data into db with a form built through the collective…
-
0
votes1
answer156
viewsHow do I print array on the selected segment and location one at a time?
<div class="col-md-2 col-sm-2"> <form method="post" action="atracoes_resultados.php"> <h4>Escolha o Segmento:</h4> <input type="checkbox" name="csg[]"…
-
0
votes1
answer163
viewsMount check box with values 1 and 0 angular
I have a screen that there is a check box.. let’s see; <div class="form-group col-md-9 pull-right"> <label>Ativo:</label> <label class="checkbox-inline"><input…
-
0
votes1
answer738
viewsInsert a value into the SQL table for each selected checkbox
I have a form with a checkbox group (equal below) and would like when selecting the values, insert a row in the SQL table for each selected checkbox: <form> <input type="hidden"…
-
0
votes0
answers396
viewsChange data using Checkbox - Php + Mysql
Hello, I am mounting an internal order system and would like to include status/situation steps, I am trying to do this in bulk using checkbox. Basically I want to select x number of items on a list,…
-
0
votes0
answers275
viewsHow to save checkbox on sqlite using recyclerView - android
So I have a project that has a checkbox list that when clicked would record in a column in the bank that items were marked, so far so good. Only I did not take into account the size of the list and…
-
0
votes0
answers129
viewsDynamic listview with checkbox
How to add checkboxes to items in a dynamic list? I’m developing a school attendance app and this is my class to add students: public class AddAluno extends AppCompatActivity { BancoAlunos…
-
0
votes1
answer94
viewsVisible password
I am building a login in Asp.net and I want to click on the checkbox to show the password to be shown. Design page Asp <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"…
-
0
votes1
answer91
viewsCheckar all daughter class radiobuttons checkbox
I have a page that will display a Checklist, the data displayed is coming from the database. I need that when the user clicks on the first checkbox (id="selectTdsA", for example) it selects all the…
-
0
votes1
answer2104
views -
0
votes3
answers1387
viewsHow to use checkbox group to search with php and mysql
I’m developing an immovable site with a search, where one of the filters is the neighborhood. Currently it is a Dropbox, but I would like to swap by checkbox group to be able to select more than 1…
-
0
votes1
answer66
viewsHow to delete multiple items from the bd with checkbox marked in Ionic 3?
I would like to know how to delete several items when the checkbox is marked, in sqlite, with Ionic 3, in the delete() function I do not know how to delete only products that are marked with…
-
0
votes1
answer230
viewsHow to create dynamic checkbox?
I am using the following commands to create the checkbox if (isset($finded_documents)) { // inicia a variável que vai guardar os checkboxes $checkboxes = ''; // para cada documento encontrado…
-
0
votes1
answer37
viewsPass an id through a checkbox at Angular 5
I need to pass an id through a method in a form when my checkbox is checked. I have tried it in several ways with no results. Below follows the code {{Event.name}} <div class=" col-3…
-
0
votes2
answers212
viewsHTML5 concatenate checkbox with text name
Good morning, you guys, I have done several researches on the subject and found nothing that refers to my environment. Come on, I have a Portal Captive in the company but I have two domains in the…
-
0
votes1
answer391
viewsHow to recover data from checkbox as "checked"?
Context: I’m creating the method of "Update Structure", depending on the selected model the items must be marked in the Checkbox. But for some reason it is not working. How to solve this problem?…
-
0
votes0
answers647
viewsSend value "0" or "1" from the checkbox to the database
I have the table "Cd_comments" in the mysql database, with the column "comment_id" "user_id" "text" and "anonymity" I want to make a system for a website, where the user will comment, and if he has…
-
0
votes1
answer268
viewsBinding a checkbox with Viewmodel without the use of Razor (Asp.net core MVC)
I’m having problems with Razor... I need to create a checkbox field and Binding with my viewModel using pure html. Only I’m not being able to do the Binding correctly with the bool property and even…
-
0
votes3
answers916
viewsHow to send form when selecting checkbox?
I have a form in html, sending data to php code however I use the button input type="submit" to send the data and wanted to send the form by clicking the checkbox. Follow my code below: insira o…
-
0
votes2
answers149
viewsFill in the value of the select field using the enabled checkbox
But, it only saves lineatura1 and changes lineatura10, lineatura11 and lineatura12. This is the current code Code: function check_uncheck_checkbox(isChecked, lineatura1) { if(isChecked) {…
-
0
votes1
answer183
viewsHow to take the value of $_GET['sealed'] to leave the checkbox selected using PHP
I have an array in PHP that are the values selected from the checkbox, which were obtained by $_GET: $_GET['selecionados'] = array(2) { [0]=> string(1) "a" [1]=> string(1) "b" } There I have…