Its not woking, Clara, because ASP is server side, wo when the page is
processed, what you're getting is this:

onSubmit='=thisname.value' 

Because session("nameValue") has no value (if I understand you correctly).

You should look into a JS solution, that can maye submit the value to a
hidden field or something

Hth,
moshe


-----Original Message-----
From: clararc2004 [mailto:[EMAIL PROTECTED] 


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









---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [EMAIL PROTECTED]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links



 






------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/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/
 



Reply via email to