checkbox Questions

10

Solved

I have a checkbox that I want to perform some Ajax action on the click event, however the checkbox is also inside a container with its own click behaviour that I don't want to run when the checkbox...
Toile asked 22/7, 2009 at 9:55

5

Solved

I am attempting to create a tree widget that will essentially allow the user to view various breakdowns of data and have the option to delete certain items. In order to do this I want to have check...
Loopy asked 10/7, 2015 at 13:38

11

Solved

I have a form with multiple checkboxes and I want to use JavaScript to make sure at least one is checked. This is what I have right now but no matter what is chosen an alert pops up. JS (wrong) ...
Martens asked 3/8, 2012 at 0:24

5

I have a table with checkboxes looking like this: <td class="table-col" > <div class="group-one" > <input type="checkbox" /> </div> </td> What I want to do is wh...
Headspring asked 22/1, 2013 at 21:15

21

Solved

I am developing an app that allows to do survey. My layout is generated from XML based questions. I need to create radio buttons (single choice) and checkboxes (multiple answers). I did not find ...
Loveland asked 18/3, 2015 at 9:1

15

Solved

I want to be able to click on a check box and test that an element is no longer in the DOM in Cypress. Can someone suggest how you do it? // This is the Test when the checkbox is clicked and the el...
Quintin asked 21/2, 2018 at 21:28

3

Solved

I use Bootstrap 5 and I wand to use a switch-toggle. I don't want to use any other addons, but only with bootstrap. How to put a Text BEFORE the toggle switch. This does not work: <div class=&qu...
Duer asked 11/3, 2021 at 11:35

9

Solved

TLDR: Use defaultChecked instead of checked, working jsbin. Trying to setup a simple checkbox that will cross out its label text when it is checked. For some reason handleChange is not getting fir...
Scherle asked 28/10, 2014 at 18:26

7

Solved

I have tried to make a xml selector with the following: <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:d...
Rittenhouse asked 2/7, 2015 at 11:43

10

Solved

I have two checkboxes on my form; chkBuried and chkAboveGround. I want to set it up so if one is checked, the other is unchecked. How can I do this? I have tried the CheckChanged property: privat...
Ankara asked 13/3, 2014 at 2:7

18

Solved

When using the newer browsers that support HTML5 (FireFox 4 for example); and a form field has the attribute required='required'; and the form field is empty/blank; and the submit button is clicked...
Mania asked 2/6, 2011 at 18:11

12

Solved

I have a list of multiple check boxes. The user can check all of them, but at least one should be checked to allow form submission. How can I enforce that requirement? <p>Box Set 1</p>...
Lapwing asked 6/3, 2014 at 23:27

9

Solved

I need to have 2 groups of controls on the screen: inputs and outputs (so they have 2 states: On or Off). Thus CheckBox seems to be a good choice. Checking any output will set it. However, when di...
Brahmi asked 11/11, 2013 at 9:22

6

I've searched extensively on here for an answer to this but haven't quite come across what I'm looking for. Found this CSS - How to Style a Selected Radio Buttons Label? but the answer involved cha...
Danidania asked 9/11, 2012 at 22:29

4

Solved

<input class="jProblemClass" id="Checkbox{%= ID %}" type="checkbox" onchange="problemPicker.onChangeProblemCheckBox('{%=ID %}');"/> After first check or uncheck nothing happens. Afetr secon...
Fluorine asked 9/2, 2011 at 7:46

1

I am preparing an issue in Gitlab where I want the assignee to select one of 2 or even 3 options. I have something like: - [ ] Task - [ ] Yes - [ ] No That works but I want to enforce that the u...
Bloomfield asked 18/5, 2021 at 13:12

4

Solved

I want remove CheckBoxes where the Node.Type is 5 or 6. I use this code: private void TvOne_DrawNode(object sender, DrawTreeNodeEventArgs e) { int type = (e.Node as Node).typ; if (type == 5 || t...
Audryaudrye asked 28/1, 2011 at 9:17

3

Solved

checkbox default checked is not working! I tried to fix it, but I can not find where is the error here? so on page load that is checked, after page loadet that is unchecked!? I tried that <div...
Spoil asked 4/12, 2018 at 22:41

5

I am new to Kotlin. I created a fragment and implemented View.OnClickListener and CheckBox.OnCheckedChangeListener. The View.OnClickListener works as expected but it shows Unresloved reference for ...
Zelazny asked 24/5, 2017 at 6:5

13

Solved

I've got a view model like this: public class SignUpViewModel { [Required(ErrorMessage = "Bitte lesen und akzeptieren Sie die AGB.")] [DisplayName("Ich habe die AGB gelesen und akzeptiere diese....
Hypanthium asked 11/2, 2010 at 14:47

11

Solved

I have a requirement of Checkbox (✅ as in to-do list) with textfield. Currently I have created button object like below : Button(action: { // do when checked / unchecked //... }) { HStack(al...
Rancourt asked 17/10, 2019 at 5:58

6

Solved

I want to retrieve the value of my checkbox when it is checked. I am using this "http://react-component.github.io/checkbox/". My code looks like this. <div className="user_box"> { check.m...
Launderette asked 1/9, 2016 at 9:25

2

I am working on a form in which I have a section of it that needs to have at least one of the checkboxes checked. I am using ReactJS and a React Hook Form. Here is the checkbox section of code with...
Shawnna asked 8/8, 2020 at 16:44

45

Solved

I've got a load of checkboxes that are checked by default. My users will probably uncheck a few (if any) of the checkboxes and leave the rest checked. Is there any way to make the form POST the c...
Singlebreasted asked 27/11, 2009 at 15:56

7

Solved

I'm using the CheckBox view in Android. I would like to change the color of it when its checked. Right now its that default dark green color when its checked and I would like to change it to someth...
Piero asked 17/12, 2015 at 17:2

© 2022 - 2025 — McMap. All rights reserved.