Thanks for your hints, guys!

Actually, my aim was the following:

Show the user only the *mandatory* (or: most basic) fields of a form 
that is to be submitted. That way, the user isn't put off by a tons of 
(maybe even unnecessary) fields (depending on what kind of user she is).

My idea to accomplish that was:

Have partials that can contain partials (and so on...). Every partial 
could be called with a "button_to_function"-button located in the 
"parent partial". In an extreme case, you could end up with a big, 
tree-like partial structure.

Bus as Phlip pointed out, it's apparently not possible for Rails to 
manage such an "interlocked" partials structure using 
"page.replace_html" (Ajax).

So if anybody out there has an idea of how to build such a more 
user-friendly/"customizable-on-the-fly" form, please let me/us know, 
thanks!

Tom
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to