you would need to add an onchange event to the quantity text field:
onChange="if(isNaN(this.value) || parseInt(this.value) < 2) {alert('Quantity cannot be less than 2'); this.value = 2;}"
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.