Results 1 to 3 of 3

Thread: Querystrings

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Posts
    343
    Hello,

    I want to send variables from one page to the next using
    something like

    <form method="post"
    action="Details.asp?name=turfbult&surname=maxwell">

    However, I have an input box called "keyword". How can I send
    whatever the user entered into that inputbox using
    form method="post" and querystrings. I dont want to use
    form methid="get".

    Any help please.

    Thanks,
    T

  2. #2
    Hyperactive Member
    Join Date
    Nov 1999
    Posts
    266
    Well well
    U just need to do something like this
    <FORM METHOD=POST ACTION=the destination>
    <INPUT TYPE=TEXT>
    <INPUT TYPE=SUBMIT>
    </FORM>

  3. #3
    Hyperactive Member
    Join Date
    Feb 2001
    Location
    LoCal
    Posts
    280
    If you want to send everything via POST then just put your other variables in hidden input fields...

    Code:
    <FORM name="Details" method="POST" action="details.asp">
         <INPUT type="hidden" name="name" value="turfbult">
         <INPUT type="hidden" name="surname" value="maxwell">
         <INPUT type="text" name="keyword">
         <INPUT type="submit">
    </FORM>
    Is that what you're going after or did I misunderstand?
    Achichincle

    VB6 (VSEE SP5, W2KPro)
    ASP
    HTML

Posting Permissions

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



Click Here to Expand Forum to Full Width