Beat: Formular senden

Beitrag lesen

<html>

--------- kein Doctype?

<head>
  <title>Fornularversand</title>
  <style type="text/css"> td { background-color:#D9D9CE; } </style>

--------- Style Bereich könne mehr enthalten

</head>

<body>
<div align="center"><B><FONT COLOR="#D9D9CE">Formularversand</FONT><p> </B>  </div>

<title>Wertübergabe - Werte empfangen</title>

--------- Bin ich jetzt in einem anderen Document?

<script language="JavaScript">

--------- ein type Attribut ist erforderlich

function WerteURLAus()

{

var URLInhalt = location.href;
var ArrayVariable = URLInhalt.split("#");
document.Formular2.Ausgabe1.value=unescape(ArrayVariable[1]);
document.Formular2.Ausgabe2.value=unescape(ArrayVariable[2]);

}

</script>
<form action="http://www.meineurl.de/system-cgi/formmail.pl" method="POST">
  <input type=hidden name="recipient" value="formulartest@meineurl.de">

--------- Form Element uist im Head nicht erlaubt

</head>
<body>
<body onLoad="WerteURLAus();return true;">

--------- Jaja manche wollen gleich einen Ersatzkörper

<form name="Formular2">
Wert 1 empfangen: <input type="Text" name="Ausgabe1"> <br>

--------- Label Elemente ausverkauft?

Wert 2 empfangen: <input type="Text" name="Ausgabe2">
<div align="center"><colspan="2" align="center"><input type="submit" value="Absenden"></div></div>

--------- also da wäre doch CSS zuständig für die Gesataltung

</form>
</body>
</html>

Es ist immer eine gute Idee, HTML Code zu validieren, falls es Probleme gibt.

mfg Beat

--
><o(((°>           ><o(((°>
   <°)))o><                     ><o(((°>o
Der Valigator leibt diese Fische