similar to: passing checkbox value to next page

Displaying 20 results from an estimated 40000 matches similar to: "passing checkbox value to next page"

2009 Jun 28
1
CheckBox and Ruby on Rails
I have two questions: 1. I have a checkbox on a form and after submit I need to check the status of the checkbox. Any idea how to see what the checkbox is set to? I am assuming this must be done in the controller or model but cannot figure it out. 2. On load I am checking for a cookie and need to determine if the checkbox should be checked or unchecked. Is there a way for me to do this from
2018 Jun 18
2
Reintroduce "allocate entire disk" checkbox on virt-manager
Hi list, on older virt-manager versions (ie: what shipped with RHEL 6), a checkbox called "allocate entire disk" was selectable when configuring a new virtual machine. When checked, it means that the RAW disk image file was entirely allocated, generally issuing a fallocate() call. When unchecked, the disk image was a sparse file, with on-demand space allocation. On new virt-manager
2018 Jun 19
0
Re: Reintroduce "allocate entire disk" checkbox on virt-manager
On 06/18/2018 04:05 PM, Gionatan Danti wrote: > Hi list, > on older virt-manager versions (ie: what shipped with RHEL 6), a > checkbox called "allocate entire disk" was selectable when configuring a > new virtual machine. When checked, it means that the RAW disk image file > was entirely allocated, generally issuing a fallocate() call. When > unchecked, the disk image
2007 Jun 11
2
Column sort of checkboxes
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> I''ve gleaned a lot of good advice from reading this group and I''m hoping for more
2006 May 05
0
is this good for a conditional checkbox?
i''m pretty new to RoR and the MVC style of programming in general. i have one page with a list of applications that several users can access. in my view, i have a conditional that decides whether the checkbox is checked or unchecked. being new to this, i just did it the only way i could think of and want to see if there''s a better way of accomplishing it. <%
2009 Apr 18
3
Create CheckBox
Hai, I want to create a checkbox the values are table field values. In my controller @emptypes = Emptypes.find(:all) In View <% @emptypes.each do |c| %> #Write checkbox generating code here <%= check_box("contacts",emptypes.types)%> <%end%> Anyknows please suggest me how to create a checkbox (values are retrived from table). -with Thanking&Regards
2006 Jul 18
1
updating boolean field in model from check box value
hello i am having a bit of trouble with updating the values of a boolean field in my database/model given the value returned by a check box i am generating the check box as follows: check_box("user", "enabled") which produces <input checked="checked" id="user_enabled" name="user[enabled]" type="checkbox" value="1"
2014 Mar 14
0
AngularJS options with a simple_form checkbox
Hi guys, How does one assign ng-model to a checkbox in simple_form? I have tried adding it like this: =f.input :super_admin , label: false, checked_value: true, unchecked_value: false, as: :boolean,:input_html=>{"ng-model"=>"superadmincbx"} but my ng-hide does not work. %span{"ng-hide"=>"superadmincbx"} I'm also using the Batarang
2008 Jun 27
0
Update database on checkbox update
I have search the web for help, with the keywords "rails ajax observe_field update checkbox", but even using all the things I found, I couldn''t really get my application for work properly... I think I lack of understanding of ajax and rails interaction with ajax. What I would like to do is very simple. I have a model "Word", with the boolean field
2012 Oct 12
3
CheckBox with Value and Drop down menu
I am a newbie in Ruby. I would to ask from all the experts in Ruby on how to create a checkbox with value as well as a dropdown menu. I want it like this site http://www.celiac.com/glutenfreemall/advanced_search.php. Their search form is good and I want to learn every aspect in doing it. Hope you can give me a step-by-step tutorial in doing it. Thanks in advance. -- Posted via
2010 Oct 08
2
vfs_acl_xattr issue
Hello, I'm using samba 3.4.8~dfsg-2 with "vfs objects = acl_xattr". [share] path = /home/users/xxxx valid users = xxxx read only = No create mask = 0666 directory mask = 0770 vfs objects = acl_xattr Here is my problem, i'm connecting to my share, which have a folder 'f01' with some acl. I created a folder and broke inherit 'f02'.
2006 May 31
2
Checkbox Help
Hi guys, I am need to help again. Sorry for the newbie query but would definitely appreciate the help. Here''s the q: I generate a list of items from the database and render them out with a checkbox beside them. A user may click more than one item and I would want to save all checked items into another table. I have been able to give each checkbox a unique id . Would anyone be able
2006 Apr 04
6
check_box_tag is limited?
Hello all. Am I going totally nuts here and just want to check (Natch!) something. A normal check_box has two value posssibilities. One for checked and one for unchecked, the value gets submitted with a form. The check_box_tag on the other hand, has a checked_value (Called just ''value'') and for the unchecked value...nothing, zip, nada. This means that if you submit a form with
2006 Jul 31
0
Autosubmitted checkbox
OK - i have this form, and i works perfect :) <%= form_remote_tag(:update => "status", :url => "/image/worksafe/" + image.id.to_s) %> <%= check_box_tag :worksafe, value = "1", checked = image.worksafe%> <%= submit_tag "Change status", :name => image.sha %> <%= end_form_tag %> however - the submit button is kind of annoying,
2018 Jun 26
0
Re: Reintroduce "allocate entire disk" checkbox on virt-manager
On 06/19/2018 07:06 PM, Gionatan Danti wrote: > Il 19-06-2018 22:16 Cole Robinson ha scritto: >> Sorry, I misunderstood. You can still achieve what you want but it's >> more clicks: new vm, manage storage, add volume, and select raw volume >> with whatever capacity you want but with 0 allocation. > > Sure, but the automatic disk creation is very handy and much less
2010 Nov 23
5
ActiveRecord not getting true value from checkbox
I have a checkbox tag as follows: <%= f.check_box :receive_offers %> When I view source in the html, I see the value of the checkbox is "1", with the normal hidden field value of "0". However, after posting the form and saving to the database, the Mysql column, which is a TinyInt, is ALWAYS 0. I''ve tried it with true/false values instead, and no luck. Any
2006 Apr 22
0
Checkboxes get reset in sortable element in IE
Hi, I am creating a list of checkboxes and text using this code: <% count = 0 %> <ul id="fields_list"> <% fields_ary.length.times do %> <%= "<li id=''item" %> <%= count %> <%= "''><span class=''chkBox''> <input type=''checkbox''></span><span
2018 Jun 19
0
Re: Reintroduce "allocate entire disk" checkbox on virt-manager
On 06/19/2018 03:37 PM, Gionatan Danti wrote: > Il 19-06-2018 20:14 Cole Robinson ha scritto: >> If you change the disk image format from qcow2 to raw in >> Edit->Preferences, then new disk images are set to fully allocated raw. >> Check the image details with 'qemu-img info $filename' to confirm. So I >> think by default we are doing what you want? >>
2007 Mar 30
10
check_box_tag not passing 0 when unchecked?
Code: <%= check_box_tag("person[#{person.id}][is_approved]", 1, true) %> Rendered output: <input checked="checked" id="person[7][is_approved]" name="person[7][is_approved]" value="1" type="checkbox"> Problem: The value of "1" is always passed, even if the box is UNCHECKED. Suggestions? Thanks! -- Posted via
2008 Feb 28
1
Inheritable Permissions Issue
I have a Centos 3 server running Samba 3.0.28. It's a member of an AD domain on a Windows Server 2003 R2 Standard x64 SP2 box. From the W2K3 server I can see the samba share I created. Using the Security tab in the Windows Explorer file properties dialog I can add and remove users and change their permissions. However, in the Permissions tab of the Advanced Security Settings dialog,