Claudia: Formulareingaben werden nicht überprüft.

Beitrag lesen

Hallo zusammen

Hab schon in den älteren Postings über dieses Thema gestöbert, aber irgendwie keine Lösung finden können, warums bei mir nicht funzt.

Ich hoffe, da kann mir jemand sagen, was ich falsch gemacht habe.

Hier der Teil meines Quellcodes dens betrifft :

<html>
<head>
<title>Anmeldung</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!--Fireworks MX 2004 Dreamweaver MX 2004 target.  Created Sun Nov 13 05:13:15 GMT+0100 2005-->
<link href="_css/Ayurveda.css" rel="stylesheet" type="text/css">
<style type="text/css">
</style>
<script type="text/javascript">
function chkformular () {
 if (document.Formular.Name.value == "") {
  alert ("Bitte geben Sie Ihren Namen an");
  document.Formular.Name.focus ();
  return false;
 }
 if (document.Formular.Vorname.value == "") {
  alert ("Bitte geben Sie Ihren Vornamen an");
  document.Formular.Vorname.focus ();
  return false;

}
 if (document.Formular.Adresse.value == "") {
  alert ("Bitte geben Sie Ihre Adresse an");
  document.Formular.Adresse.focus ();
  return false;
 }
 if (document.Formular.E-Mail.value.IndexOf ("@" == -1) {
  alert ("Keine gültige E-Mail Adresse");
  document.Formular.E-Mail.focus ();
  return false;

}
}
</script>

</head>
<body class="content">
<table width="95%"  border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="4%" height="35"><img src="_bilder/spacer.gif" alt="" width="30" height="53"></td>
    <td width="96%"><br>
    <br>
    <span class="menutitel">Anmeldung Kochkurs </span></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><p class="lauftext"><br>
      <br>
      </p>
      <form name="Formular" method="post" action="mailto:claudia.genkinger@freesurf.ch" enctype="text/plain" onSubmit="return chkformular ()">
        <table class="lauftext" width="95%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="19%">Anrede</td>
            <td width="11%"><input type="radio" name="Anrede" value="Herr">
            Herr </td>
            <td width="70%"><input type="radio" name="Anrede" value="Frau">
            Frau  </td>
          </tr>
          <tr>
            <td>Name</td>
            <td colspan="2"><input name="Name" type="text" class="buttons" id="Name" size="50" maxlength="50"></td>
          </tr>
          <tr>
            <td>Vorname</td>
            <td colspan="2"><input name="Vorname" type="text" class="buttons" id="Vorname" size="50" maxlength="50"></td>
          </tr>
          <tr>
            <td>Strasse</td>
            <td colspan="2"><input name="Strasse" type="text" class="buttons" id="Strasse" size="50" maxlength="50"></td>
          </tr>
          <tr>
            <td>PLZ / Ort </td>
            <td colspan="2">              <table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><input name="PLZ" type="text" class="buttons" id="PLZ" size="5" maxlength="5">
                  <img src="_bilder/spacer.gif" width="1" height="1">
                  <input name="Ort" type="text" class="buttons" id="Ort" size="40" maxlength="40"> </td>
                </tr>
            </table></td>
          </tr>
          <tr>
            <td>Land</td>
            <td colspan="2"><input name="Land" type="text" class="buttons" id="Land" size="50" maxlength="50"></td>
          </tr>
          <tr>
            <td>Telefon</td>
            <td colspan="2"><input name="Telefon" type="text" class="buttons" id="Telefon" size="50" maxlength="50"></td>
          </tr>
          <tr>
            <td>E-Mail</td>
            <td colspan="2"><input name="EMail" type="text" class="buttons" id="E-Mail" size="50" maxlength="50"></td>
          </tr>

Danke euch schonmal und Grüsse
Claudia