title: Zend Framework: Handling of multiple database records in one form as checkboxes
body: <p>I'm new to zend framework but have made my first steps with it successfully. 
  Until now I have created some Zend_Forms which are mapping single records of my model
  to the form fields. I have handled the forms with form classes for each case.
  This works all very well until now. </p>
  
  <p>Now I have the situation that I have to asign features to a product. Features and products are parts of my application. Features are stored in my database in three tables. <strong>For each feature there is one record</strong> in the third table.</p>
  
  <ul>
  <li><p>First is the feature group where the name of the feature group is saved. Every feature should be asigned to a feature group.</p></li>
  <li><p>Second table is the features table. This table has an foreign key to the feature group and the name of the feature.</p></li>
  <li><p>Third table is some kind of many-to-many relation which connects features to products. This table has an aditional field which contains an optional value (beside the two foreign keys) for this unique feature of the product.</p></li>
  </ul>
  
  <p>For example: if the product has a weight of 4,78 kg the value "4,78" is stored in the third table and the label "weight of %s kg" is stored in the second table. The feature group could be something like "physical attributes" had is saved in the first table.</p>
  
  <p>To cut a long story short:
  My problem is how to handle the case that I have to <strong>create and edit multiple database records in one form</strong>. <strong>The plan is to have a form with many checkboxes for each for a feature whereby features are thematicaly grouped</strong>. Every checkbox should have an aditional text field to input optional values.</p>