Hi!
could anyone help?
I have a question related with the use of Session to store the value
of a form element.
I need that in order to pass this value to a "redirected" asp page,
in a form which has action="xxxx.pl".
if I use the command:
onSubmit='<% Session("namevalue")= this.name.value %>'
I get the error: Microsoft VBScript error '800a01a8' Object
required: ''
I post the whole code:
<Form name="form" method="POST" action="xxxxxx/FormMail.pl"
onSubmit='<% Session("namevalue")= this.name.value %>'>
<input type = "hidden" name="recipient" value="[EMAIL PROTECTED]">
<input type = "hidden" name="redirect"
value="http://xxx.xxx.xxx/confirm.asp">
<input id="name" type="text" size="30"><input type="submit"
name="send" value="submit!">
<input name="cancel" type="reset" value="cancel" >
</form>
I've tried with
onSubmit='<% Session("namevalue")=Request.form("name") %>' but it
doesn't work, either I use runat="server" or not.
Thank you very much for all!
Clara
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/17folB/TM
--------------------------------------------------------------------~->
---------------------------------------------------------------------
Home : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
Post : [EMAIL PROTECTED]
Subscribe : [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
---------------------------------------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/active-server-pages/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/