I'd like to create a form... like this :

<form method="POST" action="nittlermenu.php3" name="departform" target="_self">
<p><font size="1" face="Arial"><b>Aeroport de Départ</b></font><br>
<select size="1" name="depart" onchange="JavaScript:Submitdepart()">
<option>Votre Choix</option>
<option selected>Luxembourg</option>
</select><input type="submit" value="GO" name="Submit"></p>
<input type="hidden" name="firstrun" value="0">
<input type="hidden" name="destination" value="MAJORQUE">
<input type="hidden" name="datedepart" value="2000-12-16">
<input type="hidden" name="dateretour" value="2000-12-09">
<input type="hidden" name="hotel" value="Apparthotel Dunas">
<input type="hidden" name="ville" value="Cala Millor">
<input type="hidden" name="reduction" value="30%">
<input type="hidden" name="prix" value="11970">
<input type="hidden" name="wheresearch" value="AEROPORT_DEPART">
</form>

But I'd Like to create 2 action when submitted !!!!

The first One in the same frame, and a second one in the main frame...

How could I Implemente this ???

    Hi,

    I didn't quite understand your question. To create 2 actions how?!! To send to a two different files?!! Or?!! If so...

    I'm looking for the same solution more or less. I'm also trying to duplicate the form action to two or three different actions (from one form.html that is sending all the info to at least two or three different files at the same time for example to action_1.php & to action_2.php & to action_3.php etc...). How can be done this?!! I saw it in a some place & I just can't find it anymore.

    Thanks to you all.

    -Klaus
    A bit less M. M.

      Simply Explain what I'm serching For...

      In a frame, I've one menu that is generated by PhP, using MySQL choise. This Menu is under a form.

      Why This menu is uneder a form...

      When a choise is selected, the PhP Reload this menu by selecting (filtering) choises.

      In the same time I'd like to display a list with more information (filtered by the menu) in an other frame.

      The Menu is generated with one PhP program and the list could be generated by another one.

      My problem is for the POST action.

      How can I Post One action in the menu frame, an the second one in the same time to the main frame ?

      I don't know if you're searching to do the same ?

        Hi André,

        Well not really. But technicly speaking is the same. Two instant post command actions made at the same time. I saw that somewhere & I just don't remembe where. :-(

        Akkkkkkkkk,....

        -Klaus

          if you submit a form to one page you can use the onload command to refresh another frame, you'll be able to refresh the second frame using variables from the form. If you put this onload function within 'if' statements you'll be able to control the fact that it only happens when certain variables are passed. In theory you can repeat this as many times as you like over as many frames as you like.

          I can't remember the exact code for the onload (a quick search will find it) but I've used it before and it works.

            How Shell I transfert var from the form to the onload (java) ? an then transfert var from the java to php...

            Or other possibility :

            How can I exec automatiquely a <a href...> ?

            If this case, when my form menu in HTML is generated by php, This autolink can start with the var I can automatiquely put with php ?

              Write a Reply...