form variables

Results 1 to 2 of 2

Thread: form variables

  1. #1
    Join Date
    Dec 1969
    Posts
    4

    Default form variables

    I&#039m trying to pass various fields from a form and display them in a table on a asp page.<BR><BR>Your help would be appriciated.

  2. #2
    besharah Guest

    Default RE: form variables

    When a form is submitted to the server, the values in the textboxes are available in the Request.form collection. You can refer to "yourTextboxValue" by executing server-side script like:<BR><BR>myVariable = Request.form("yourTextboxName")<BR>with a reference to the values you can fill a table with them and then display them to the user:<BR><BR>&#060;table&#062;<BR> &#060;tr&#062;<BR> &#060;td&#062;&#060;%=Request.form("yourTextboxNam e")%&#062;&#060;/td&#062;<BR> &#060;/tr&#062;<BR>&#060;/table&#062;<BR><BR>The &#060;%= tag is a short form for Response.write and will print the values to the page <BR><BR>Hope that helps.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •