Questions tagged as 'checkbox'

2
answers

How to use an input checkbox in the angular using Array?

I'm trying to use a Array in a input[type=checkbox] with Angle 1, but I was not successful. angular.module('app', []) .controller("Ctrl", function ($scope){ $scope.campos = [{nome: "Brasil"}, {nome: "Argentina"}, {n...
asked by 31.07.2017 / 18:28
1
answer

Checkboxes in AlertDialog always return the same values

I have AlertDialog with a custom layout with 2 checkboxes. But even if I click on one of those checkboxes, clicking on the accept or cancel buttons ( alert.setPositiveButton or alert.setNegativeButton ), I get the default che...
asked by 08.12.2016 / 13:06
2
answers

Laravel checkbox checked or not checked as database

I need a help in Laravel how to "check the checkboxes" of a form. I have a color table, today with 12 different colors but can be as many as I want. And a one product byproduct table. The cores.id = corproduto.cor_id. When I register the product...
asked by 14.09.2016 / 18:37
2
answers

How to select and pick values from all checkboxes with the checked property?

I noticed that "selecting all checkboxes with the .checked property checked is a very recurring question in web development, so I'll post a solution here using Jquery . sub> How to select and pick values from all checkboxes with th...
asked by 14.06.2016 / 22:12
2
answers

How to create CheckBox via schedule [closed]

How to create multiple Checkbox's via programming?     
asked by 23.01.2017 / 02:13
2
answers

Capture values after an input checkbox

Good morning, I have a 'Attendance' form where there is a checkbox for each service. CurrentlyIcangettheidofeachselectedcheckbox,putitinanarrayandprintthisarray,butthat'snotmygoal.Iwouldlikeforeachcheckedcheckboxtocapturethevalueoftheservice...
asked by 29.05.2016 / 18:08
2
answers

How to get value from a checkbox

When I submit the form the input does not return the value of checkbox and says $_POST['newsconf'] does not exist. HTML <input type="checkbox" id="newsconf" name="newsconf" value="1"/> <label for="newsconf">...
asked by 31.12.2014 / 23:15
2
answers

Mark / uncheck all dynamically created checkboxes

I'm creating checkboxes from the DB. I have another one that defines whether all the others are marked or not. When I run the first time it works fine, but the second one does not. HTML <div class="row smart-form"> <section cla...
asked by 10.03.2015 / 18:09
1
answer

Get the drawable used as a CheckBox image

Whenever I have to save the image associated with a checkbox through the imagem = minha_checkbox.getButtonDrawable(); method it always gives me an error called call requires API level 23 (current min is 17) How can I resolve thi...
asked by 10.12.2016 / 18:09
2
answers

Enable select HTML with

I have a table, where fields start disabled, and in a checkbox I choose which field to enable. Tagged input , works perfectly. But when I try to use with select the same script does not work. I tried to add this method only to...
asked by 23.02.2015 / 13:10