Most voted "checkbox" questions
Reference tag for checkbox component in several languages/frameworks.
Learn more…308 questions
Sort by count of
-
1
votes1
answer138
viewsConditional return of Checkbox with problem
I’m making a mistake that ridiculously seems easy, but I can’t fix it. In my xml has a CheckBox returning false (disabled), in my java has a simple if(termosUso.isChecked()){}, in theory was so that…
-
1
votes1
answer807
viewsHow to change elements dynamically through Checkbox?
Guys I have a problem where I need to make a function with parameters aiming if a checkbox is marked or not. I managed to make for another field, but this was static, now I need to make for elements…
-
1
votes2
answers446
viewsJavascript - Showing and hiding Ivs according to selected checkboxes
I own the site with 9 checkboxes, each associated with a div. When a checkbox is selected, the related div is shown. When another checkbox is selected, the div related to that other one is also…
-
1
votes1
answer82
viewsPHP and Javascript - Selected checkbox value storage (in Session)
I have on my page some options in checkboxes. They would be campaign options. Follow the code of the table where they are available (lines of three): <table style="font-family: Trebuchet MS;…
-
1
votes1
answer1201
viewsRequired checkbox with javascript to click link
Good evening, everyone! I am making a website for a college job, and what I want to do is the following: I have a simple HTML menu whose options are "View Profile", "Edit Profile" and "Remove…
-
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
votes1
answer151
viewsError in Javascript for Chekar Asp:Checkbox
Good morning. I have the following code: HTML: <asp:CheckBox ID="ckPergunta" runat="server" onchange='SelectChoices(this);' /> Javascript: <script type="text/javascript">…
-
1
votes1
answer399
views -
1
votes1
answer113
viewsWhy are the data disappearing by refreshing this page?
While I wear that filter for real estate, everything goes well but at the time I refresh the page, the checkbox makes the search disappear. It undoes all the session or at least gives an error in…
-
1
votes2
answers75
viewsHow to fix these styles to circumvent reported error?
I am modifying inputs checkbox hiding them and calling labels to receive the function of checked. As you can see in FIDDLE and also in the codes shown below, when clicking in ascending order, the…
-
1
votes1
answer985
viewsupdate multiple records with php mysql checkbox
I need to update a mysql table with data coming from a/two checkbox where checked is 2 and unchecked is 1. It turns out that if you check the id6 of the col1 it will update the id4. What will be…
-
1
votes0
answers337
viewsCreate dynamically angled checkbox columns
I’m trying to dynamically create checkbox columns in a dropdown using angular. I use bootstrap. Each checkbox item may or may not have related children. The solution I found was to put everything…
-
1
votes1
answer82
viewsSeveral equal checkbox Value[]
I made a table with 180 checkbox but only 3 will be selected randomly by the visitor of the site. When I click on "Next" everything appears OK in the URL of the next page:…
-
1
votes1
answer29
viewsDelete variable provided when unchecking Checkbox
I have a code that saves in a textarea values from a checkbox, but I cannot make the value be deleted from the textarea when the checkbox is unchecked. var checkbox =…
-
1
votes1
answer1578
viewsLaravel - Save data in the database only if it does not exist and....
I have a person registration system and there is an area with several checkbox fields that represent the social group that the current person represents: TABLES person id | nome 1 | João 2 | Maria 3…
-
1
votes1
answer106
viewsDoubt with angular and checkbox
I have a form with some inputs and some checkbox, when I do the search in the database is returned Json, and input fields are filled in but checkbox are not marked although I have declared the…
-
1
votes1
answer375
viewsPrint only selected records at checkbox
I have the following table, but I’m not sure how to use the checkbox, ? And since he’s inside the table he’s showing up in print,. <table class='datatable table table-hover table-bordered…
-
1
votes0
answers65
viewsFilter php chebox
function parseMysqlQuery($array) { $output = ''; foreach( $array as $key => $value){ $output .= !$output ? " WHERE $table.$key " : " AND $table.$key"; $output .= ' IN ("' . implode('","', $value)…
-
1
votes1
answer136
viewsDoubt about using checked="checked" in a jquery function
I have a form and wanted that when the page was loaded, if my checkbox is set, disable the "disable" form property. In the code example below, I put checked="checked" but only works if I click to…
-
1
votes0
answers60
viewsFill gridview checkbox via SQL Server
I have a checkbox in gridview and I want to load fields of type 'bit' in the SQL Server bd at this checkbox, or if it is 'True' the checkbox is 'check.' I have this: connect = CONN(un, passwords,…
-
1
votes0
answers467
viewsHow to generate a list with data from an Android Checkbox?
I am developing an Android app for pizzeria that generates a list of ingredients from checked Checkbox, IE, the user gives a "check" in the items you want for your pizza as catupiry, pepperoni,…
-
1
votes0
answers208
viewsASP.NET MVC + Checkbox how to proceed?
I have a list where I register FOOTBALL TEAMS in CHAMPIONSHIPS, I mean, I need to select several teams for a championship, I make a list with checkbox but do not know how to proceed later:…
-
1
votes1
answer39
viewsCheckbox with Function
Good afternoon, I’m putting together a form with checkboxes that call a function through the onclick <body> <form name="questao1" method="post" onsubmit="sendToDB();">…
-
1
votes1
answer156
viewsSum checkbox with values coming from the Bank
I have the following code, and I would like to add up all prices that are marked, but I have no idea how to do it, I hope someone will help me. Thank you. <!DOCTYPE html> <html>…
-
1
votes1
answer3267
viewsStylized Bootstrap checkbox does not work
Good afternoon, I have styled a checkbox group. Only it is not checked. I followed all the steps to make the change and still can’t leave it selected. Could someone see my code in codePen and tell…
-
1
votes3
answers1438
viewsHow to get value from selected checkbox
I am developing a site that has a search filter for neighborhoods, where the person selects in checkbox the neighborhoods. Then I need to take the values that are checked and play in a text (ex:…
-
1
votes1
answer377
viewsSaving data from the checkbox and sending to another Activity
I have a list of products, which comes from an online database, each product contains a checkbox, name and value. What would be the best way to pass only the data of the marked products to a new…
-
1
votes2
answers100
viewsHow do I combine a checkbox with a switch?
I’m trying to validate the answer marked on a form. The intention is to create a multiple choice question where if the marked item is correct it presents a response, if not, that presents another…
-
1
votes1
answer249
viewsI cannot access IE checkbox element by vba
I’m trying to click a checkbox by IE, using VBA, but I can’t access the element of this checkbox. I searched through several different forums and the closest I could find was that access to a part…
-
1
votes2
answers497
viewsShow and search fields and according to selected checkbox field?
How do I make these rules work at Checkbox? When Selected "outsourcing" Shows "divOutsourcing", When You Select "audit" Shows "divAuditoriaOptions", When You Select "consulting" Shows…
-
1
votes2
answers237
viewsRadiogroup in Listview does not maintain selection after scroll
I have a Listview with some information and within it I have a Radiogroup, but when I scroll the screen all my checkbox are unchecked because the listview is creating this checkbox again. I need my…
-
1
votes2
answers304
viewsRemove checked items in the checkbox (Javascript, PHP)
I’m working on a car registration project where I need to change my delete button that was generated for each new vehicle registered by checkbox so that more than one element can be deleted, I…
-
1
votes2
answers369
viewsPassing parameter to another Activity with sharedPreference
I have a code where I will access a webservice that will be changing the ip weekly, I created a sharedpreference for the user to save the new ip and when saving my Activity would pull this IP saved…
android web-service checkbox edittext sharedpreferencesasked 7 years, 3 months ago Renato Crispim 45 -
1
votes1
answer382
viewsPython: select checkbox in an orderly way
I have a list containing hundreds of data in the format [ '5008489', 'Órgão: MPF', 'PROCEDIMENTO DO JUIZADO ESPECIAL', 'CPF', <selenium.webdriver.remote.webelement.WebElement…
python checkbox selenium selenium-webdriver web-scrapingasked 7 years, 3 months ago Bergo de Almeida 181 -
1
votes1
answer125
viewsSemantic-ui, action-free checkbox in the form
I created a form using Semantic-Ui, but I can not enable the checkbox, I need some specific javascript for these elements? <table class="ui table"> <thead> <tr> <th class="four…
-
1
votes2
answers151
viewsHow do I use two checkboxes in a C# mvc view to choose the query type?
Controller.cs public ActionResult pesquisarCliente(string _codigo) { var r = db.Pedido.AsQueryable(); if (!string.IsNullOrEmpty(_codigo)) { r = r.Where(n => n.Cliente.Contains(_codigo));…
-
1
votes1
answer557
viewsEdit status of multiple records with checkbox marked?
I need to send an array with the id of the records that have the checkbox checked, to edit the status field at once. Note1: All records will undergo the same change listed in a select. Note 2: I can…
-
1
votes1
answer431
viewsPipes for checkbox Contact Form 7
I need to adapt a checkbox plugin Contact Form 7 wordpress with Pipes, what I’m doing: Man shortcode on the form: [checkbox checkbox-579 "10 cm" "15 cm" "20 cm" "30 cm"] And I must result: ...…
-
1
votes1
answer250
viewsDoubt with Jquery - Take class value and apply as background
I need a help!! I’m making a form and each checkbox will have an image, however I did not want to manual by css each check, I wanted a script that already made automatic. I know how to do this with…
-
1
votes2
answers1370
viewsHow to keep selected checkbox after refresh on page with localstorage JS
I’m trying to keep the checkbox selected even after refreshing on the page, this is my progress: // javascript var s_item = ""; function save(items) { s_item = items; var checkbox =…
-
1
votes1
answer69
viewsMysql query based on checkbox result
I’m having trouble creating a mysql query based on checkbox. 1. I have a form based on a select that contains a checkbox by line <input type="checkbox" name="check[]" value="<?php echo…
-
1
votes1
answer280
viewsForeach inside foreach is doubling PHP values?
I’m having a problem looping, I am working with 3 tables of the Bank, would be table Anuncio, Opcoes_Anuncio(interconnected) and Opcoes, I’m trying to bring the option data along with the selected…
-
1
votes1
answer23
viewsHow do I specify a distant address within several others using an input type="checkbox"
I have a menu made with lists 'ul' with a sub-menu when clicking on the "checkbox" The element is very far away and the reference using the "checkbox" is right at the beginning, I do not know how to…
-
1
votes0
answers461
viewsTurbo Table with Checkbox - Primeng
Hello, I am using Typescript, Angular 5, Primeng and Java for ERP system development. My front has a screen so that the user can choose the days of operation of the establishment. This screen has a…
-
1
votes1
answer155
viewsHow to use a svg (or div) to click and select the corresponding checkbox
I have a form that is a recipe search filter. In this filter I have a checkbox group for the category: <form method="get" action="/busca"> <h4>Categoria</h4> <input…
-
1
votes0
answers109
viewsTable checkbox in Javafx selects alone when I move the scroll bar
Hello! I am learning javafx and I have a table with a checkbox column, when the application starts it lists right in the rows of the table. The problem is that when I select the first two for…
-
1
votes1
answer41
viewsMore than one value in an id variable
Select: <div class="span2" class="checks" > <h4>BRANCO</h4> <img src= "/images/cor-05.jpg" width="57" height="27"> <input type="checkbox" data-id="TRANSPARENTE"…
-
1
votes1
answer104
viewsHow to go through Checkbox in automatically generated Webforms with Jquery
How to scroll through several Checkboxes in the C# Button Click event where these Checkboxes were automatically generated with Jquery ? The automatically generated Checkbox HTML is this: <div…
-
1
votes1
answer51
viewsHow to mark checkbox with a single color?
Hello, I have the following problem: When entering the edition of my product I need that in the part where you have the images of the products, each product has its specific color. Ex: But he is…
-
1
votes0
answers84
viewsHow to uncheck a checkbox after clicking another
How to program and Java (Android Studio) to deselect a checkbox after clicking another checkbox. Example: - Quiz That’s my code and the question that uses the checkbox is identified in that code as…