help with hidden fields??

Results 1 to 3 of 3

Thread: help with hidden fields??

  1. #1
    Join Date
    Dec 1969
    Posts
    43

    Default help with hidden fields??

    i have two forms and i need to feed one result into the other, so i can then add info to a database.<BR>is it best to use hidden fields and how do i go about doing that???(i have to use 2 forms and cannot use one)<BR><BR>thanks very much for any help<BR>katie

  2. #2
    Jairo Guest

    Default RE: help with hidden fields??

    Katie,<BR>You can create your hidden fields with &#060;input type="hidden" name="yourHiddenFieldName"&#062;. When you submit the form, the hidden fields/values will be sent along with it. On your second page, you should be able to retrieve the values with Request.Form("yourHiddenFieldName").<BR><BR>HTH,<B R>Jairo

  3. #3
    Join Date
    Dec 1969
    Posts
    1,671

    Default RE: help with hidden fields??

    Opps, You forgot the value tag.. :)<BR>&#060;input type="hidden" name="FieldName" value="FieldValue"&#062;<BR><BR>But remember, hidden fields are not securely hidden, they just aren&#039t displyed on the screen. A simple View...Source will show them.

Posting Permissions

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