Any ideas or suggestions would be much appreciated? If I need to supply more information or am being confusing, or off in my thinking, please let me know.
On Apr 1, 4:10 pm, kodiacat <[EMAIL PROTECTED]> wrote: > A while back I was on with a problem having to do with a hiding and > show questions in a table based form based on whether a user selected > yes or no radio buttons. If they selected yes to any of the 6 > questions then they would be shown additional questions that they > would be required to answer. With your help I was able to implement a > working solution that worked great. > > This is the > thread-->http://groups.google.com/group/rubyonrails-spinoffs/tree/browse_frm/t... > > However since then the form as become a bit more complex. If they > select yes for each question a hidden <tbody> with additional > questions will be shown. I have this working using an onclick and > element.hide and element.show for each question. However, Filemaker > is the database we are using, and so the multiple inlines on the form > really slow things down. To help speed things up I would like to only > load the hidden tbody elements and questions if the user clicks yes. > Initially I thought I could leave the tbody element empty and then > call the include using prototype's ajax.updater, which works, until > they select no. If they select no, then the question's are still > visible..if I add onclick ="element.hide"; to the no radio button, > then it will hide it, but then if they select yes again it won't show. > I apologize if this doesn't make any sense, and please let me know if > you need any additional information. Or some example code. I would > post a link, but I don't have one available. > > Thank you in advance. > ~Becca --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---