Your quantity field is in a different form than the add to cart button... you need to have any form elements associated with the add to cart in the same form. It looks like you removed it from the add to cart and put it in a separate form above.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.