I'm trying to make a simple shopping cart. In my shop page, there are only 6 product. Visitor can type how many item each they want to buy. After that the page redirect to ShareIt to be process.
What I want to ask is :
- Is there anyway to validate input only numeric ?
- How can I check the form, so only valid value will be send to ShareIt.

The link would be like : http://shareit1.*************/cart.html?product[A1]=quantity+product[A2]=quantity.....

So if the quantity value 0 (or characters), it will not send to ShareIt.
Thanks for any help.