I have the following

<head>
<script language=vbscript>
sub cmdSubmit_OnClick
window.print
document.A.submit
end sub
</script>
</head>

<%
if request("C") <> "" then
do something here...
end if
%>

<form name=A>
<input type="button" name="cmdSubmit" value="Process">


<input type=hidden name=C value="test">

</form>


When I click on the "Process" button I can print the form and then submit.

The code that asks for the hidden field does nothing because, I think, it
is never retrieved in the request statement. How do I do this?