Forum: Ruby on Rails Dynamic forms - using radio buttons to show form items

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
8e73782b5a220c5d923a0195667e7406?d=identicon&s=25 Kim (Guest)
on 2007-01-25 01:10
(Received via mailing list)
I have a form ( a partial) that asks for required data, after the
required form fields, I need to have a radio button that when clicked
shows more fields the user can fill out.

I can not for the life of me figure out how to get the radio button to
show the rest of the form. I have tried:
form_remote_tag and AJAX (tried to recreate the Agile book example)

Any help is appreciated but code examples are most helpful.

Thanks in advance. -K
This topic is locked and can not be replied to.