Displaying 20 results from an estimated 80000 matches similar to: "list of checkboxes, radiobuttons"
2004 Jul 20
7
radiobuttons are weird in 1.2.x series
Hello all,
Run groupbox.rb example in any of the two alpha versions and
click the radiobutton in the upper right group box (those named Hilvesum 1,
Hilversum 2, etc). You''ll notice that once a radiobutton is checked,
it remains checked when some other radiobutton is checked.
What''s the reason?
Thank you.
--
Best regards,
Yuri Leikind
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
2005 Dec 30
2
Radiobutton onclick
Hi,
I would like to make a simple html which displays the contents of a
table from a database. So I put radiobuttons near the titles of the
columns to note and do a sorting by that column. But I don''t know how
to implement that the clicking on one of the radiobuttons make the
sorting. The problem is the view part. How to give a radiobutton to
make some action on a click by the helper?
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
2005 Dec 29
0
Newbie: Radiobutton onclick
Hi,
I would like to make a simple html which displays the contents of a
table from a database. So I put radiobuttons near the titles of the
columns to note and do a sorting by that column. But I don''t know how
to implement that the clicking on one of the radiobuttons make the
sorting. The problem is the view part. How to give a radiobutton to
make some action on a click by the helper?
2008 May 29
5
f.checkbox?
Okay so I have a typical search page where a keyword is entered and
results are retrieved that match the keyword. What I want to do now is
have checkboxes to search for results in specific areas (my site is a
big events calendar with "streams" and "audiences") I want to use the
checkboxes to look for results in ''streams'', ''audiences'', or
2008 Jan 18
0
Update All using Checkboxes
So I have a list of jobs which I show like this. (cleaned up..)
_list.rhtml
<table>
<% for job in @jobs %>
<tr><td><%= job.name %></td></tr>
<% end %>
I want checkboxes next to each and every job name and a button or link
somewhere else on the page to "delete selected", "publish selected" ,
and "unpublish selected"
2009 Apr 12
0
rails 2.3 nested forms with has_many through checkboxes
I was wondering if anyone knew of a way to combine the new nested
forms in rails 2.3 with a has_many through relationship via
checkboxes. Basically I have a page model, a page_category model and
a category_items join table. Pages have many page categories through
category items. The category_items table is polymorphic so i can use
it for other models who need categories (maybe this is
2008 Jan 09
0
problem with checkboxes updating table
I''m having issues getting checkboxes to update a cross-reference table
correctly. I keep seeing entries in the locations_users table, for
location_id and user_id, "11" and "2", respectively. The user id is
fine, but there is no such location with id 11. There are only 5
locations and their ids go from 1-5! I can''t seem to find where the 11
is coming from.
2007 Feb 22
0
AJAX in-place editing of checkboxes and dropdowns?
I''m looking for a plugin or general directions on where to find code
implementing not only in-place editing of text fields, but also of
dropdowns and checkboxes. There is a recipe in "Rails Recipe", but it
only covers dropdown menus, and chances are that there is a plugin
somewhere out there.
However, I''ve only found "InPlaceControls", which, it
2006 Nov 16
3
Scriptaculous 1.6.5 Checkbox problems
I''d report this on the rails trac site but it won''t let me open a new
ticket. I figured this was important enough to bring this up now.
I replaced the prototype version in Scriptaculous 1.6.4 with the
version in 1.6.5 in a rails site I''m working on. I noticed though that
even though I was clicking the checkbox to confirm the acceptance of a
terms of service that I kept
2006 Aug 27
3
n-to-m relationships in Forms
Hi,
I can''t understand the RoR-API concerning certain form helpers. Can you
maybe help me?
I have a model, Film, with a habtm-relationship to the model Language.
Now if I want to have a form for editing/creating a Film, I''d like to
have checkboxes for each Language with those checked that are associated
with the Film in question.
Is there an "easy" way to do this
2006 Sep 10
2
Issue with radiobutton and remote_function in IE.
Hi there!
I did implemented the radio button with remote_function to update some
div via RJS.
It works perfect with FireFox, but behaves weird with IE. When I click
the radio button
it loads data (I see the indicator showing) but not updates the div with
info until I click
left mouse button anywhere.
It''s weird =(
Here is the snippet from .rhtml code
<td>
2006 Dec 27
0
HABTM Checkboxes - Adding/Updating Users to a Project
Hello all,
I''m trying to create a HABTM checkbox action that adds/updates ''users''
to a ''project''.
I have the following laid out.
---------------------
TABLES
---------------------
create_table "assignments", :id => false, :force => true do |t|
t.column "project_id", :integer, :default => 0, :null => false
2007 Mar 18
7
How to get more informations about an association at runtime
Hi all
I''m working on a Custom Formbuilder. I want it to create me with a
single method call checkboxes for a given HABTM association.
My model looks like this:
[code=ruby]class Member < ActiveRecord::Base
has_and_belongs_to_many :preferred_music_styles,
:class_name => ''MusicStyle'',
:join_table =>
2008 Nov 26
0
looking for a plugin that does multi-list/select managment
Hi
I''m looking for a plugin that will take the pain out of constantly
re-implementing a UI ''functionality'' (for lack of a better term) that
I''m using often.
This functionality consists of two select (listboxes) - side by
side. The one on the left has a list of items that the user can
choose from and then by clicking on a button - move the selected
2002 Dec 09
0
Mailman 'held' messages (was SPAM on List...)
On Mon, 9 Dec 2002, Martin Pool <mbp@samba.org> wrote:
>
>Mailman holds some suspicious messages for filtering by the admin.
>However, for samba.org, this means about 80 messages per week, which
>have to be handled through a clunky web interface, and which take time
>away from more useful tasks. This is not acceptable.
Pah! :) Try 100+ messages per day, with 200+ at the
2007 Oct 23
1
simple data.frame question
Hi,
At first I have to admit that I'm quite new to R and need some basic
information. Although I searched the internet and this forum where I found
answers to really sophisticated questions, I couldn't find the answer to my
really simple one - or I didn't understand it for English is not my
mothertongue.
I'm using Rpad to simulate a webserver on my PC. Further I've got an
2006 Apr 23
1
checkboxes for filtered search
I have a page that renders a series of about 20 checkboxes on the
left hand side with content on the right. These checkboxes are
created from a DB and that part is all working well.
What I want to do is have a user click on a checkbox [genres] and
have the content on the right be filtered based on the checkbox
ticked. If a user clicks on more than one checkbox than only those
stories
2008 Jan 31
3
Handling multiple Check boxes in a XHTML Strict way
Hi,
The default way we handle an array of checkboxes is like this:
<% items.each do |item| %>
<%= check_box_tag ''item[]'', "#{item.id}" %>
<% end -%>
this returns an array item[] that holds the ids of all the items.
Now the real issue:
1. The above loop will same ids to ''n'' items
2. All ids will be ''item[]''