Forums
This topic is locked
switching values of hidden variables
Replies
Replied 23 Mar 2002 13:44:42
23 Mar 2002 13:44:42 Owen Eastwick replied:
Something like:
<Script Language="JavaScript">
<!--
function CopyField(){
document.FormName.HiddenFieldName.value = document.FormName.CheckBoxName.value
}
//-->
</Script>
Then mofdify the checkbox tag:
<input type="checkbox" name="CheckBoxName" onClick="CopyField()">
Regards
Owen.
Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
Edited by - oeastwick on 23 Mar 2002 13:50:25
<Script Language="JavaScript">
<!--
function CopyField(){
document.FormName.HiddenFieldName.value = document.FormName.CheckBoxName.value
}
//-->
</Script>
Then mofdify the checkbox tag:
<input type="checkbox" name="CheckBoxName" onClick="CopyField()">
Regards
Owen.
Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
Edited by - oeastwick on 23 Mar 2002 13:50:25