# Complex forms

**URL:** <https://www.ruby-forum.com/t/complex-forms/131049>\
**Category:** Ruby\
**Created:** [March 5, 2008, 4:20pm UTC](https://www.ruby-forum.com/t/complex-forms/131049 "2008-03-05T16:20:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nephish](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/8e7dd6/32.png) [@nephish](https://www.ruby-forum.com/u/nephish)\
**Post date:** [March 5, 2008, 4:20pm UTC](https://www.ruby-forum.com/t/complex-forms/131049/1 "2008-03-05T16:20:17Z")

</div>

I am wondering if someone may be able to point me in the right  
direction.

I have a survey that I am trying to do that has in it many one too many  
relegations. Thanks to railscasts complex forms series, I was able to  
get them all working. I have come to a road block and hoping someone can  
help. The survey capture a companies profile, where things get sticky is  
I now need to create a relationship that will allow a user to enter in  
categories of products that the company deals with. Here is the  
predefined list.

â€¢ Wood based panels  
â€¢ Complete pre-fabricated buildings and houses  
â€¢ Wood kitchen cabinets  
â€¢ Wood windows and doors  
â€¢ Wood flooring  
â€¢ Millwork  
â€¢ Mouldings  
â€¢ Engineered wood products  
â€¢ Other wood based building products  
â€¢ PVC windows  
â€¢ Steel doors  
â€¢ Insulation  
â€¢ Stone-processed products  
â€¢ Basement envelope systems  
â€¢ Other non-wood building products

This list is set in stone and no others can be added by the user. So a  
company can have many categories. Also I need to add a relation ship to  
allow users to add products to each category with details on each  
product.

I am not sure on how to approach this as well I am very new to Rails. I  
come from a coldfusion background. If it would help, I could send you  
any existing code I have.

I hope someone can help, Thanks in advance!

---

<div class="post-metadata">

**Author:** ![nephish](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/8e7dd6/32.png) [@nephish](https://www.ruby-forum.com/u/nephish)\
**Post date:** [March 5, 2008, 5:06pm UTC](https://www.ruby-forum.com/t/complex-forms/131049/2 "2008-03-05T17:06:58Z")

</div>

This is the Ruby mailing list. You’ll probably get more/better responses  
over at the Rails list…

[http://groups.google.com/group/rubyonrails-talk?hl=en](http://groups.google.com/group/rubyonrails-talk?hl=en)

---

<div class="post-metadata">

**Author:** ![nephish](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/8e7dd6/32.png) [@nephish](https://www.ruby-forum.com/u/nephish)\
**Post date:** [March 5, 2008, 5:11pm UTC](https://www.ruby-forum.com/t/complex-forms/131049/3 "2008-03-05T17:11:16Z")

</div>

Thanks
