title: CakePHP adding multiple HABTM rows and appending them to the Form
body: <p>I have 2 entities: <code>Product</code> and <code>List</code>. They share a <strong>HABTM</strong> relationship. </p>
  
  <p>Lets say I have about 1000 <code>Product</code> entries and I am currently creating a <code>List</code>. In the <code>Form</code>, I will add multiple <code>Product</code> to the <code>List</code>. </p>
  
  <p>First question:
  Since 1000 Products is a lot, it would not be wise to use a <code>&lt;select&gt;</code> tag to list them. So I'm going to use a text input and validate. This validation can be done by an AJAX request, but I was thinking if using <code>Validation::inList()</code> (from <a href="http://book.cakephp.org/2.0/en/models/data-validation.html#core-validation-rules" rel="nofollow">http://book.cakephp.org/2.0/en/models/data-validation.html#core-validation-rules</a>) would be better?</p>
  
  <p>Second question:
  In order to add multiple <code>Product</code> to the list, I'll probably need something like and 'Add Product' button, to append the new row to the Form. The question is, how would I insert the entry in the <code>ListsController</code>? also what <code>name</code> will the <strong>JS-generated</strong> <code>input</code> should have</p>