Re: Basing Drop Down from Check Box

Rachel Nichol
Wed, 17 Jun 2009 23:54:12 -0000

I will research this link_to_remote you mention and let you know how it goes.
Thank you so much for the reply... heimdull

Thank you,
Rachel S Nichol
W: (843) 686-1223
F: (843) 341-0980

Hargray''s mission:  To envision and deliver customer delight

-----Original Message-----
From: rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
[mailto:rubyonrails-talk@googlegroups.com] On Behalf Of heimdull
Sent: Wednesday, June 17, 2009 6:21 PM
To: Ruby on Rails: Talk
Subject: [Rails] Re: Basing Drop Down from Check Box


Don''t use checkboxes... Use a link_to_remote...

If you need to have a checkbox you can allways just use an image of a
checkbox. or a button_to...

On Jun 17, 12:25 pm, rachel
<rachel.nic...-uVpXp7NhOuKQXGs3P2Bq9w@public.gmane.org>
wrote:
> Hello All,
>
> I am very new to Web Development (in general) and Ruby on Rails and
> have been stumped on this for awhile.
>
> In my view I have a check box of which I need to grab a primary key
> value when checked.
>
> The primary key value will then need to be used to generate and
> populate a corresponding drop down list.
>
> Currently the data generated to view is similar to ...
>
> Telephone (primary key of 1) [check box] ... web user clicks check box
> then I need to display corresponding database data based on the
> primary key
>
> Internet     (primary key of 2) [check box] ... same concept for
> Telephone using Internet PK
>
> Television  (primary key of 3) [check box] ... same concept for
> Telephone using Television PK
>
> Can anyone please help me?
>
> Rachel