Forum: Ruby on Rails Dynamic show form fields depending on dropdown box

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.
C3bdd57da4de3560baac7b267eb32012?d=identicon&s=25 new railsor (Guest)
on 2007-06-25 23:41
I have one question, let me take an example. when a user visits:

it will show a form that has forum, name, email, subject, text five
fields for posting. right?

I want to provide more features on this form page, when the user choose
a different forum from the first drop list, the form will show more
different fields, such as a time selecor, or an option or what ever I
want to show to my users.

how can I do use ruby/rails or javascript? thanks in advance.
This topic is locked and can not be replied to.