On Tue, Mar 06, 2007 at 05:42:32PM +0100, Aaron Wieberg wrote
:> That is, we need to have a Form Template system that chooses what
> elements of the form are displayed based on how the user answers other
> elements of the form.
You mean for instance, that if your customer has checked the box
''children'', a form for the names of the children appear?
I had the same work to do for my project.
I have written my own helpers which simply render partials with rjs
(page.replace, etc.), or calling :oncomplete for auto_complete fields,
etc.
You can have a look to the krjs plugin
(http://choonkeat.svnrepository.com/svn/rails-plugins/krjs/) which is
pretty useful but a little bit difficult to customize (you might want
rewrite all completly).
By the way, I''ve got trouble with tabulars and page.replace but the
problem was
solved on this mailing list a couple of weeks ago.
Have fun,
--
,========================.
| Pierre-Alexandre Meyer |
| email : pam-1sEOgp2Wo8Qdnm+yROfE0A@public.gmane.org |
`========================''
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---