Hi everyone. I am really new to Ruby on Rails, so I apologize if this is a really simple question but I just can't think of how I could do this. I want there to be a button that will add a drop down menu to the screen, and then depending on what the user selects it will add either a text field or a text "area" it will add the selected one to the right of the menu. Also, the user would have to be allowed to delete certain "fields" as well. Then when the user submits the form Ruby on Rails will be able to see how many menus were made as well as read what the user put in all of them. I hope this makes sense, but if it doesn't, just ask for clarification. :) If anyone could help, it would be great.
on 2008-12-26 01:23
on 2008-12-26 18:23
on 2008-12-26 21:56
Pierce wrote: > Hi everyone. > > I am really new to Ruby on Rails, so I apologize if this is a really > simple question but I just can't think of how I could do this. I want > there to be a button that will add a drop down menu to the screen, and > then depending on what the user selects it will add either a text > field or a text "area" it will add the selected one to the right of > the menu. Also, the user would have to be allowed to delete certain > "fields" as well. Then when the user submits the form Ruby on Rails > will be able to see how many menus were made as well as read what the > user put in all of them. I hope this makes sense, but if it doesn't, > just ask for clarification. :) > > If anyone could help, it would be great. Hi Pierce, Your example is explained in a difficult way. Could you point at an example on a existing website? Actually, what you describe here is pretty much a lot of UI stuff, this can be done with AJAX and showing / hiding html elements. Thanks, Michael
on 2008-12-27 00:17
Ruby on Rails in not a magic wand even you can do a magical stuff with it. I have read your description a couple of times and with a "I am missing something" filing. Perhaps you should first do a simple paper prototyping and then when all actions are known and clear move to implementation. Since this look like a simple web application, more like a students homework, perhaps the Ruby on Rails is not a right tool for it. Take look at Sinatra http://sinatra.rubyforge.org/ perhaps it's sufficient framework for your task. On Dec 26, 8:56 pm, Michael Hendrickx <rails-mailing-l...@andreas-
on 2008-12-27 04:30
on 2008-12-27 04:32
on 2008-12-30 05:27
Sorry for the bump, but I am about to begin the rewrite and am wondering if there is some way to do this in Rails.