On Tue, Aug 9, 2011 at 5:49 AM, Jarek Plonski <li...@ruby-forum.com> wrote:
> I want to have two fields for Meeting.place = one would be select with > places from other meetings or text_field if the place is being used > first time. User would be selecting radio_button of which field he has > used. > > So is there any way to nest select and text_field within 2 > radio_buttons? Why bother with the radio buttons? If there's something in the text field use it; otherwise use the value from the select. (You'll want to check that at least one has a value anyway.) -- Hassan Schroeder ------------------------ hassan.schroe...@gmail.com http://about.me/hassanschroeder twitter: @hassan -- 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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.