how do i include a hidden value ina form that is the value of a select box from another form. I.E
this is my form
VB Code:
<form name="period"> <select name="period" size="1"> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option> <option value="07">07</option> </select> </form>
and then in another form I have:
VB Code:
<form action="orion_s002.asp" method="post" name="form1" target="_self"> <input type="hidden" name="F_PROFILE" value="<%response.write V_PROFILE%>"> <input type="hidden" name="F_ACCESS" value="<%response.write V_ACCESS%>"> <input type="hidden" name="F_PERIOD" value="javascript:document.period.value">
this doesnt seem to work however and passes javascript:document.period.value as a text string. what am i doing wrong




Reply With Quote