Hi there, annoying glitch - have a medical calculator which takes values and passes them to a child window, the checkbox that is scripted with an "if else" unchecks itself on submit, although the correct value is passed. If you go back to the parent window and submit again, the unchecked value is passed the next time. Other check boxes scripted with only an "if" statement remain checked. The box in question "istakingmed: is not referenced again in the script. Any ideas??<br><br>sample errant code:<br><FONT FACE=monospace>if ( document.adder.istakingmed.checked && tsbpcalc >= 149 && tsbpcalc <= 160) {<br>document.adder.outputtsbp.value="8";<br>document.adder.treatbpstat.value="With a treated systolic blood pressure of " + tsbpcalc + ".<br>";<br>}else if ( document.adder.istakingmed.checked == false && tsbpcalc >= 181 && tsbpcalc <= 192) {<br>document.adder.outputtsbp.value="8";<br>document.adder.treatbpstat.value="With an untreated systolic blood pressure of " + tsbpcalc + ".<br>"; <br>}</font>