This sounds like the usual problem of not being familiar with the HTML standard. If you're not putting quotes around your HTML tag attribute values, you'll get the observed effect.
<input type="hidden" name="product" value="Insert product name here">