I created a product with two variables, student name with a text box and grade level with a dropdown selection. The product was working fine with Kindergarten, 1st Grade,2nd Grade, 3rd Grade, 4th Grade as variables.
I had a parent call and point out that Pre Kindergarten was missing so I added Pre-K and changed the button code. I Then noticed that the new sales were missing the grade variable.
I searched the forums and could not find anything similar and just assumed that the "-" was causing a problem. I modified the cart variable from Pre-K to PreK and I made a purchase and the grade variable was there
**** Working Code
<input type="hidden" name="on0" value="Student Name">
<input type="text" name="os0" maxlength="200">
<input type="hidden" name="on1" value="Grade">
<select name="os1">
<option value="PreK">PreK</option>
<option value="Kindergarten">Kindergarten</option>
<option value="1st Grade">1st Grade</option>
<option value="2nd Grade">2nd Grade</option>
<option value="3rd Grade">3rd Grade</option>
<option value="4th Grade">4th Grade</option>
</select>
**** Non-Working Code
<input type="hidden" name="on0" value="Student Name">
<input type="text" name="os0" maxlength="200">
<input type="hidden" name="on1" value="Grade">
<select name="os1">
<option value="Pre-K">Pre-K</option>
<option value="Kindergarten">Kindergarten</option>
<option value="1st Grade">1st Grade</option>
<option value="2nd Grade">2nd Grade</option>
<option value="3rd Grade">3rd Grade</option>
<option value="4th Grade">4th Grade</option>
</select>