I need a form rewritten or possibly a server side script to solve the following problem:
<form name="RadioGroup1" method="get" action="http://www.domain.com/addtocart.aspx">
<input type="radio" name="productid" value="18&variantid=37" />
<input type="radio" name="productid" value="1&variantid=10" />
<input type="hidden" name="quantity" value="1">
<input type="submit" value="Add To Cart" />
The value of the radio
<input type="radio" name="productid" value="18&variantid=37">
causes the problem but I must have the product id = to the value of 18 along with the variantid as well because each variant id is linked to a product.
but when I submit the form to the cart url encoding changes the address to:
It may be that my cart can not interpret the %26 as the "&" sign and %3D as the "=" sign so I need a way for the & and the = to be passed over to the cart page unchanged throught the radio?
Should be an easy fix for someone who knows a bit about forms and asp