title: PayPal: Choosing multiple items with quantities
body: <p>I have made a PayPal form where I wish to sell multiple items and quantities (see screenshot). However when I use the code similar to the one written below I get a error if some of the items haven't been selected (quantity=0). The error says "A quantity value must be an integer greater than or equal to one." But I can't figure out how I could make the form behave like I want if I can't have some items with the quantity of 0. </p>
  
  <p>Does anyone have a solution that fits my needs? I wouldn't like to have a "add to cart" button on every item.</p>
  
  <p>Thanks!</p>
  
  <pre><code>&lt;form&gt;
  &lt;input type="hidden" name="cmd" value="_cart"&gt;
  &lt;input type="hidden" name="business" value="myemail"&gt;
  &lt;input type="hidden" name="upload" value=""&gt;
  
  &lt;input type="hidden" name="item_name_1" value="First item"&gt;
  &lt;input type="hidden" name="amount_1" value="9"&gt;
  &lt;select name="quantity_1"&gt;&lt;option value="0"&gt;0&lt;/option&gt;&lt;option value="1"&gt;1&lt;/option&gt;&lt;option value="2"&gt;2&lt;/option&gt;&lt;option value="3"&gt;3&lt;/option&gt;&lt;/select&gt;
  
  &lt;!-- more items --&gt;
  
  &lt;input type="image" src="http://www.paypal.com/en_US/i/btn/x-click-but01.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p><a href="http://kejk.se/skar.png" rel="nofollow noreferrer">screenshot http://kejk.se/skar.png</a></p>