Your line <INPUT TYPE="hidden" NAME="sNumber" VALUE="<%=sNumber%>">
should read:
<INPUT TYPE="hidden" NAME="sNumber" VALUE=<%=sNumber%>>

note the removal of your quotes around the <%=sNumber%>. 

Hope this helps !!


Walter Meyer II
Houston, Texas
  ----- Original Message ----- 
  From: Trev 
  To: [email protected] 
  Sent: Monday, June 06, 2005 6:44 PM
  Subject: [AspNetAnyQuestionIsOk] hidden.asp


  I'll probably sound like a clown for asking this, but I'm kinda 
  stuck.

  I've used examples from http://www.learnasp.com/learn/hidden.asp to 
  send a little information from one page to the next, and submit that 
  for an online inquiry.

  on the first page, I've applied it like this....

  //code as follows
  <FORM ACTION="used_enquiry.asp" METHOD="POST">
  <INPUT TYPE="HIDDEN" NAME="sNumber" VALUE="xxxx">
  <INPUT TYPE="SUBMIT" VALUE="Used Car Enquiry">
  </FORM>

  my intention is to submit the "sNumber" value, to the next page so 
  the value can be read into the form, and submitted with the form.

  //code as follows
  <%
  sNumber=request.form("sNumber")
  %>

  <INPUT TYPE="hidden" NAME="sNumber" VALUE="<%=sNumber%>">


  so when the user presses the "submit" on the second page, I should 
  receive the value of sNumber... right? i.e. "xxxx".  what I receive 
  is the code, i.e. <%=sNumber%>.

  What have I done wrong?  Any help would be great!








------------------------------------------------------------------------------
  Yahoo! Groups Links

    a.. To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
      
    b.. To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]
      
    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 



[Non-text portions of this message have been removed]






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> 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