Linked Questions

0 votes
3 answers
766 views

I am developing an application with codeigniter. My issue is iam not able to post value from second check box(checkbox in else condition). View page <div class="form-group"> &...
Yadhu Babu's user avatar
  • 1,509
0 votes
0 answers
69 views

I tried printing out all (key,value) pairs in a request.POST to extract the form data. I notice that a BooleanField, if not checked (i.e. set to True), is not included in request.POST. This is true ...
Tristan Tran's user avatar
  • 1,621
23 votes
11 answers
19k views

I have read quite a few different methods of having html checkboxes get posted to the server, but I am really looking to do it without modifying anything except for $.serialize. I ideally, I would ...
Jonathon's user avatar
  • 466
16 votes
4 answers
29k views

I am trying to see if a checkbox is checked or not in my controller. I've read that this is the code to do it if (Input::get('attending_lan', true)) But that returns true even if the checkbox is ...
Brennan Hoeting's user avatar
7 votes
1 answer
2k views

I have the following SCSS code: input[type="checkbox"] { ... &:read-only, &[readonly] { cursor: default; filter: grayscale(1); } } That is being applied ...
Alan Jereb's user avatar
2 votes
2 answers
16k views

if I have the following html: <form method ='GET' action='/search'> <input type='checkbox' name='box1' id='box1'> Option 1 <input type='checkbox' name='box2' id='box2'> Option 2 <...
vcvd's user avatar
  • 432
3 votes
3 answers
11k views

I am very new to spring mvc world. I am trying to send boolean value to from html form checkbox. When a user check the checkbox then it will send true, false otherwise. <form class="...
seal's user avatar
  • 1,143
3 votes
1 answer
7k views

Using Play 2.3.x I am trying to understand how checkboxes are handled in forms. This question seems like an outdated solution for an older version of Play. I understand that checkbox info will only be ...
KJ50's user avatar
  • 765
3 votes
6 answers
10k views

So i have this line of code that will repeat different times in a form. <input type="checkbox" name="checkbox[]" /> !checked <input type="checkbox" name="checkbox[]" /> !unchecked <...
Alex's user avatar
  • 1,073
1 vote
2 answers
8k views

I have a table and in the table a form with fields the user can change. Three of these fields use check boxes. I'm able to reflect what is currently in the database after following this post, but I ...
L. P.'s user avatar
  • 164
6 votes
2 answers
9k views

I can't figure an easy way to save a boolean value with express and mongoose. I have this schema: var ClientSchema = new Schema({ name: {type: String, required: true, trim: true}, active: {type: ...
Camilo's user avatar
  • 2,863
2 votes
1 answer
10k views

I have a checkbox validation before i submit the page. But it works in reverse. It's displaying error message when i check the box instead of opposite. I don't know where im doing wrong. My ...
Pradvaar cruz's user avatar
1 vote
7 answers
7k views

I am trying to change the value of a checkbox input based on whether the checkbox input is checked or not checked. Here is what I have: HTML: <input type="checkbox" id="chkPrint" name="Print" ...
Minh Dao Le's user avatar
5 votes
4 answers
1k views

I am running into an issue where I have multiple forms with a number of controls on them (20-40). The problem is that when I handle the postback, I need to put their values into variables and if they ...
Wade73's user avatar
  • 4,519
0 votes
1 answer
4k views

I have a form that looks like this: <form id="settings" action="{{ url_for("load_settings") }}" method="post"> ... <label for="m_r">Interval 1</label> <input type="text"...
J P's user avatar
  • 551

15 30 50 per page