Forum: Ruby on Rails Dynamically creating textbox in form?

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.
Woei S. (Guest)
on 2006-01-17 05:36

What I'm trying to hack up is a form that has a portion which would
allow me to add "any number" of another set of items.

For instance when specifying a product in a table, and this said product
can have a number of ways which it can be delivered, so I will have a
"Add additional delivery method" javascript link, which when clicked
will create an additional set of textboxes for a new "delivery method".

Is it possible to edit _form.rhtml to achieve this effect once I've
decided on the javascript code that I'd use to achieve this?

This topic is locked and can not be replied to.