JVRudnick
08-29-2005, 10:54 PM
Hey all...
I have an asp page, where the user fills in a form which is validated. If the validation is successful, then the user is redirected to a page where all the items are nicely formatted for them to print the page out.
However, I now must add a small routine to that asp page, to write some data to an MSSQL dbase, and I can't it seems pass 2 querystrings from one page to the other...
SendingPage.asp page...
<snip>lots of form field validations up here...then
else {
window.open('contests/vaselineframe2005/print_en.asp?contestID=58');
As you can see, I can pass one querystring just fine...
But how do I add this one from this text input...
<input type="text" name="txtPIN" size="30" maxlength="80" class="text">
It seems that I can't use "&PIN=request.form("txtPIN") to work...
nor "&PIN='<%=request.form("txtPIN")%>' either....
Why? Dang apostrophes!!!
Jim
I have an asp page, where the user fills in a form which is validated. If the validation is successful, then the user is redirected to a page where all the items are nicely formatted for them to print the page out.
However, I now must add a small routine to that asp page, to write some data to an MSSQL dbase, and I can't it seems pass 2 querystrings from one page to the other...
SendingPage.asp page...
<snip>lots of form field validations up here...then
else {
window.open('contests/vaselineframe2005/print_en.asp?contestID=58');
As you can see, I can pass one querystring just fine...
But how do I add this one from this text input...
<input type="text" name="txtPIN" size="30" maxlength="80" class="text">
It seems that I can't use "&PIN=request.form("txtPIN") to work...
nor "&PIN='<%=request.form("txtPIN")%>' either....
Why? Dang apostrophes!!!
Jim