tox: 2 identische Forms in einer Seite, nur 1 funktioniert

Beitrag lesen

Na gut, hier der geparste Original Code:

<form name="asf" action="/de" method="post">
        <input type="hidden" name="pag_mod_dlg" value="post" />
        <input type="hidden" name="nam" value="Thomas Pinte" />
        <input type="hidden" name="ema" value="thomas@pinte.net" />
        <input type="hidden" name="msg" value="$GLOBALS[&#x0027;pag_mod_dlg&#x0027;] = $GLOBALS[&#x0027;pag_mod_dlg&#x0027;] = " />
        <ul id="dpl_ety">
          <li class="dpl_ety_lst_hei"><p class="dpl_ety_lft">Ihr Name</p><p class="dpl_ety_rgt">Thomas Pinte</li>
          <li class="dpl_ety_lst_hei"><p class="dpl_ety_lft">Ihre E-Mail-Adresse</p><p class="dpl_ety_rgt">thomas@pinte.net</li>
          <li class="dpl_ety_lst_hei"><p class="dpl_ety_lft">Ihre Telefonnummer</p><p class="dpl_ety_rgt">&nbsp;</li>
          <li class="dpl_ety_lst_hei"><p class="dpl_ety_lft">Ihre Nachricht</p><p class="dpl_ety_rgt">$GLOBALS[&#x0027;pag_mod_dlg&#x0027;] = $GLOBALS[&#x0027;pag_mod_dlg&#x0027;] = </li>
        </ul>
        <p class="dpl_ety_asb_fld"><input class="dpl_ety_asb" type="submit" value="Nachricht absenden" /></p>
      <form>

<form name="msg" action="/de" method="post" accept-charset="utf-8">
          <input type="hidden" name="pag_mod_ndx" value="dialog" />
          <input type="hidden" name="pag_mod_dlg" value="check" />
          <ul id="ftr_frm">
            <li class="ftr_frm_lst_hei"><p class="ftr_frm_lbl"><label for="nam">Ihr Name</label></p><p class="ftr_frm_fld"><input class="txt" type="text" name="nam" maxlength="50" value="Thomas Pinte" /></p></li>
            <li class="ftr_frm_lst_hei"><p class="ftr_frm_lbl"><label for="ema">Ihre E-Mail-Adresse</label></p><p class="ftr_frm_fld"><input class="txt" type="text" name="ema" maxlength="50" value="thomas@pinte.net" /></p></li>
            <li class="ftr_frm_lst_hei"><p class="ftr_frm_lbl"><label for="phn">Ihre Telefonnummer</label></p><p class="ftr_frm_fld"><input class="txt" type="text" name="phn" maxlength="25" value="" /></p></li>
            <li class="ftr_frm_lst_hei"><p class="ftr_frm_lbl"><label for="msg">Ihre Nachricht</label></p><p class="ftr_frm_fld"><textarea name="msg" rows="5">$GLOBALS[&#x0027;pag_mod_dlg&#x0027;] = $GLOBALS[&#x0027;pag_mod_dlg&#x0027;] = </textarea></p></li>
          </ul>
          <p class="ftr_frm_but_fld"><input class="ftr_frm_sub_but" type="submit" value="Weiter zur Vorschau" /></p>
        </form>

P.S.: Konstruktive Kritik ist immer willkommen.

Und Gruss