Displaying 20 results from an estimated 12000 matches similar to: "Remember that checkbox has been checked!"
2006 Feb 05
1
Check/uncheck all checkboxes
Hello!
I have this page where I list all users in a table. There is checkbox in
every row. My User-model has a "checked"-attribute.
I have implemented the checkboxes like this:
<%= check_box("user[]", "checked") %>
Which outputs this:
<input id="user_12_checked" name="user[12][checked]" type="checkbox"
value="1"
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,
2006 Apr 24
4
javascript in RoR page - Check ALL/uncheck ALL buttons
I am trying to implement a check all and uncheck all button for my check
boxes.
Here is what I have below. I am getting this error each time:
Error: document.myform.add_visit_for_this_Pt has no properties
Source File: http://localhost:3000/AddPatientVisit/addvisits
Line: 1
Strange that I can''t seem to pass value into the function.
Thanks for your help!
<SCRIPT
2006 May 01
3
Make a checkbox checked based on a condition?
I have a series of checkboxes in a form generated as follows:
<% for user in @active_users %>
<p><%= user.firstname + " " + user.surname%>
<%= check_box ''assigned_tasks'', ''user_id'', {:index => user.id},
user.id, nil %></p>
<% end %>
I''d like to have one of them selected when user.id is equal to the
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
2003 Aug 07
1
changing file permissions problems
For samba 2.2.8a
Well, I have found that the problem I'm seeing is that in W2K it will
not let you remove all permissions from say Everyone. For example in
UNIX the file permission is set to 0644. I want to remove the read
permission for Everyone from W2K. In the Security tab, when I try to
uncheck the read for Everyone and then hit "Apply" the read just gets
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
2015 Jul 26
2
C6.6 Gnome panel problem
Hi all!
I usually keep the panels on my Centos 6.6 (Gnome) so they auto-hide,
but t'other day I wanted to keep the top panel visible for a while to
make the clock visible for doing some rough timings.
so I open the top panel, click properties, and UNcheck the "autohide"
checkbox, close the properties menu, and to my surprise, the panel
still autohides. Went thru that exercise
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
2006 Apr 27
2
check_box_tag and :disabled => ''disabled'' problem
I''ve been using the check_box_tag to generate checkboxes for an application
I am working on and I''ve run into a little hiccup.
When I set the options for the checkbox to be { :disabled => "disabled" }
the checkbox becomes disabled, as I would expect. However, if I set the
checked value to true and keep the disabled option, the value for the
checkbox is not returned.
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,
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 22
1
RJS, scriptaculous, page.replace problem with input fields?
I''m hoping someone can help...
I have an rjs template that invokes a couple of page.remove() calls that
work fine, and a page.replace() call that does not.
I''ve played with the javascript extensively from within Firefox''s
FireBug module, and it seems to me that this is what is happening:
What I''m trying to replace is an element that''s been
2018 Jun 19
2
Re: Reintroduce "allocate entire disk" checkbox on virt-manager
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?
>
> - Cole
Er, the point is that I would really like to have a
2004 May 05
1
Password must change: 0
Hi all,
I'm trying to create a domain user in USRMGR.EXE. The samba account will
have its property "Password must change" set to 0. this results in the
user not being able to access shares if he has been never logged in
before. smbclient will return NT_STATUS_PASSWORD_MUST_CHANGE after
logon. in USRMGR.EXE, it is impossible to uncheck the checkbox for
"password must
2008 Dec 09
4
HABTM checkboxes insert but don't delete
I have a problem related with the HABTM relationships with checkboxes.
I''ve got a profile and a service model, both related with
has_and_belongs_to_many.
The problem is that i can insert new data in the profiles_services
table, however, i cant delete already existing data.
What could be the problem?
--~--~---------~--~----~------------~-------~--~----~
You received this message
2006 Jul 03
9
checkboxes
in the mean time i am using a checkbox like this :
<input type="checkbox" name="var[car]" <%= var.car ? ''checked'' : ''''
unless @var == nil %> />
but i am sure there is something better than this in rails like
<%= checkbox_tag ''var'', ''car'', :checked => true %>
but this is not
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
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 Mar 08
0
passing checkbox value to next page
Hai
I have one search page and am using pagination for navigate through
all the result each page have 10 result .Each search result have one
checkbox ,Now i am selecting some of the checkbox in first page and i am
going to second page and from that page am selecting some of the check
box, Now the Issue is if i am coming back to first page i want to see
the result with checked(which was