Post Form with Variable of the form itself

Discussion in 'HTML' started by TNG, Mar 3, 2005.

  1. TNG

    TNG Guest

    Hi,

    I have a simple form with a lang. choise, but in the file to open, I want to
    pass the chosen value, but how ?
    This is not working... Is it possible ?
    Thx in advance
    <form name="Lang_choise" action="index2.asp?item=start&subitem=x&lang=" &
    request.form(lang_initial) & " method="post"">
    <select name="lang_initial">
    <option value="Français"> Français</option>
    <option value="Nederlands"> Nederlands</option>
    </select>
     
    TNG, Mar 3, 2005
    #1
    1. Advertising

  2. TNG

    Steve Pugh Guest

    "TNG" <> wrote:

    >I have a simple form with a lang. choise, but in the file to open, I want to
    >pass the chosen value, but how ?
    >This is not working... Is it possible ?
    >Thx in advance
    ><form name="Lang_choise" action="index2.asp?item=start&subitem=x&lang=" &
    >request.form(lang_initial) & " method="post"">
    ><select name="lang_initial">
    ><option value="Français"> Français</option>
    ><option value="Nederlands"> Nederlands</option>
    ></select>


    <form name="Lang_choise" action="index2.asp" method="get">
    <input type="hidden" name="item" value="start">
    <input type="hidden" name="subitem" value="x">
    <select name="lang">
    <option value="Français"> Français</option>
    <option value="Nederlands"> Nederlands</option>
    </select>

    Steve

    --
    "My theories appal you, my heresies outrage you,
    I never answer letters and you don't like my tie." - The Doctor

    Steve Pugh <> <http://steve.pugh.net/>
     
    Steve Pugh, Mar 3, 2005
    #2
    1. Advertising

  3. TNG

    TNG Guest

    THANK YOU

    "Steve Pugh" <> wrote in message
    news:...
    > "TNG" <> wrote:
    >
    >>I have a simple form with a lang. choise, but in the file to open, I want
    >>to
    >>pass the chosen value, but how ?
    >>This is not working... Is it possible ?
    >>Thx in advance
    >><form name="Lang_choise" action="index2.asp?item=start&subitem=x&lang=" &
    >>request.form(lang_initial) & " method="post"">
    >><select name="lang_initial">
    >><option value="Français"> Français</option>
    >><option value="Nederlands"> Nederlands</option>
    >></select>

    >
    > <form name="Lang_choise" action="index2.asp" method="get">
    > <input type="hidden" name="item" value="start">
    > <input type="hidden" name="subitem" value="x">
    > <select name="lang">
    > <option value="Français"> Français</option>
    > <option value="Nederlands"> Nederlands</option>
    > </select>
    >
    > Steve
    >
    > --
    > "My theories appal you, my heresies outrage you,
    > I never answer letters and you don't like my tie." - The Doctor
    >
    > Steve Pugh <> <http://steve.pugh.net/>
     
    TNG, Mar 3, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Beryl Small
    Replies:
    1
    Views:
    676
    bruce barker
    Dec 2, 2003
  2. Craig G
    Replies:
    8
    Views:
    6,540
    Craig G
    Dec 21, 2004
  3. Replies:
    7
    Views:
    387
    Andrey Tarasevich
    Feb 14, 2005
  4. Kurda Yon
    Replies:
    2
    Views:
    325
    Tim Chase
    Feb 17, 2009
  5. peter pilsl
    Replies:
    0
    Views:
    97
    peter pilsl
    Oct 1, 2004
Loading...

Share This Page