Click to See Complete Forum and Search --> : Form Submission


karlmcauley
08-13-2003, 06:40 AM
Can i pass a variable (with a stored number) as part of the URL in the action tag of form?

For instance:

<%
lonReportID=rsTemp("repnum")
%>

<form name="reportinfo" method="post" action="report_generator.asp?reportid="& lonReportID >

The variable definitely has the value in it as i have reponse.write it, but it is not being passed as part of the form. Is this possible? If so what format would the url in the action tage take?

Manythx

karlmcauley
08-13-2003, 08:05 AM
I did already try that and it did not work so i tried something similar to a previous post:

<form name="reportinfo" method="post" action="report_generator.asp?reportid=<% Response.Write(lonReportID) %>">

Cheers dave anyhow.