I have following form, with an Image submit button:
<FORM name="orderinf" ACTION=ONCLICK.pgm method=GET>
<input type=hidden name="TASK" value="initial Value">
Type starting date: <input type=text name="inpdate" value=" " size=10> (MMDDYYYY Format)
<INPUT align=bottom border=0 height=27 src="/websmart/images/parashoppingtxt.gif" type=image width=20 onclick="document.orderinf.TASK.value='DUMMY';">
</FORM>
I expect the value for hidden field TASK to change to DUMMY, but it does not. It remains 'initial Value'. What am I doing wrong ?
Thanks for any help.
<FORM name="orderinf" ACTION=ONCLICK.pgm method=GET>
<input type=hidden name="TASK" value="initial Value">
Type starting date: <input type=text name="inpdate" value=" " size=10> (MMDDYYYY Format)
<INPUT align=bottom border=0 height=27 src="/websmart/images/parashoppingtxt.gif" type=image width=20 onclick="document.orderinf.TASK.value='DUMMY';">
</FORM>
I expect the value for hidden field TASK to change to DUMMY, but it does not. It remains 'initial Value'. What am I doing wrong ?
Thanks for any help.