...

View Full Version : How to store checkbox values in hidden fields



gilgalbiblewhee
06-06-2007, 04:10 PM
How do you store the checkbox alues in a hidden field?


<div id="divform" style="position:absolute;z-index:2; ">
<form name="frm" id="frm" action="../wait.html" method="post" >
<div id="set1" style="position:absolute; left:65px;top:146px;">

<span style="position:absolute; top: 170px; left: 180px;width:104px;">
<input name="check" id="check" type="checkbox" onClick="photos_bought(this.value);" value="Ireland: picture 10 300dpi" />300dpi $100<br />
<input name="check" id="check" type="checkbox" onClick="photos_bought(this.value);" value="Ireland: picture 10 600dpi" />600dpi $175</span>

<span style="position:absolute; left: 60px; top:270px;width:104px;">
<input name="check" id="check" type="checkbox" onClick="photos_bought(this.value);" value="Ireland: picture 1 300dpi" />300dpi $100<br />
<input name="check" id="check" type="checkbox" onClick="photos_bought(this.value);" value="Ireland: picture 1 600dpi" />600dpi $175</span>

<span style="position:absolute; left: 307px; top:150px;width:71px;">
<textarea name="order" id="order" cols="50" rows="5"></textarea><br />
<input type="button" onClick="createOrder();openpopup();" value="Send order" /><input type="reset" value="Reset" />
</span>
</div>

</form>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum