Questions tagged as 'checkbox'

0
answers

Problems with listing an entity as a checkbox in Symfony2

My system has two related tables called material and items_budget . The second table has a form that lists the name of each material in a checkbox, followed by two input , one for its quantity, and another for the price. Here is the c...
asked by 21.09.2015 / 00:52
0
answers

Symfony2 - Only one field has its value read, the rest of this field is NULL when submitting form

I have two related tables: material and items_budget . The items_budget table has a form that has a field that lists the name of all the material in a group of checkbox , and next to each checkbox has two % fields, one for q...
asked by 21.09.2015 / 03:58
0
answers

How to keep the order of the selected checkboxes and send by form to another page

I have a code in page1.php where I have an array of checkboxes populated with MySQL data through a query. I can send the value of checked checkboxes to page2.php . But I want the order to be the same as the checkboxes were selected....
asked by 25.08.2015 / 04:01
1
answer

How do I return to the View the items checked by the CheckBox?

I'm developing an ASP.NET MVC project. In my registration form, I have a checkbox where I select the items that I would like to add in the DB. My edit form, I have to get these items checked and show in the view: all the items that are in the gr...
asked by 13.02.2015 / 13:25
1
answer

Get multiple values checkbox tag [closed]

I'm displaying a table with data coming from a xml , so I'm traversing the array @ag and assembling the elements of each line. Each line has a check_box_tag to select the elements to delete. Now what I need is each line se...
asked by 07.10.2014 / 14:34
3
answers

Unlock field when selecting Chekbox

Scenario: I have a table where the employee can see the data that the company has of it. I need an option for the employee to report disagreements on their cadastral data. When you click the button, it will open a screen that will contain all...
asked by 13.02.2015 / 13:21
3
answers

I would like a TextView to display the number of CheckBoxes that have been marked

I made several attempts, but I did not succeed, here is the code from MainActivity.java: package genesysgeneration.cbnumber; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import...
asked by 04.01.2017 / 00:00
1
answer

Getting the value of the table with ckeckbox and passing to the controller with AngularJS

Good Night! I have a problem that I have not found a solution yet First I make a query in the database that returns me some values and I play inside a table with ng-repeat Table <tr ng-repeat="contrato in contratos"> <...
asked by 26.08.2015 / 07:43
3
answers

Checkbox error

I need to make a while in PHP : while($lo = mysql_fetch_array($ro)) { $id3 = $lo["id"]; $nome_menor = utf8_encode($lo["nome_menor"]); That's okay! Showing the companies listed in the query below: $ro = mysql_query(...
asked by 16.06.2016 / 16:25
2
answers

update div with checkbox value checked

const inputs = [...document.querySelectorAll("input[class='serv']")]; const res = document.getElementById("resultado"); const total = res.querySelector('[name="total"]'); const nomes = res.querySelector('[name="nomes"]'); inputs.forEach...
asked by 01.12.2018 / 05:34