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: [email protected] [mailto:[email protected]] 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 <[email protected]> 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

