HI !
Ich poste jetzt mal meinen Quelltext ins Forum, denn ich kriege das Script einfach nicht zum laufen. !!!
HIlfe!
Stephan
<html>
<head>
<title>fahrschulplattform.de Neueintrag</title>
<!-- beispiel -->
<script language="JavaScript">
<!-- function form_check ()
{
if (document.forms[0].Fahrschulname:=.value == "") {
alert("Bitte geben Sie was ein!");
return false;
}
if (document.forms[0].Inhaber:=.value == "") {
alert("Bitte geben Sie auch hier was ein!");
return false;
}
}
//-->
</script>
<!-- beispiel -->
</head>
<body bgcolor=red>
<div style="color:black" align="center">
<h3>Neueintrag ihrer Fahrschule </h3>
</div>
<br>
<table cellpadding="1" cellspacing="3" align="center">
<tr>
<td>
<form name="forms[0]" action="baseportal.pl?htx=/fahrschuldatenbank/neueintrag2&cmd=add" method="post" enctype="multipart/form-data" onSubmit="return form_check()">
</td>
<td>
<input type=hidden name="htx=" value="/fahrschuldatenbank/neueintrag2">
<input type=hidden name="cmd=" value="add">
</td>
</tr>
<tr>
<td bgcolor="yellow" align="left" style="font-family:Arial; font-size:12; font-weight:bold; color:black; background-color:yellow">
Fahrschulname:
</td>
<td style="background-color:red">
<input type="text" name="Fahrschulname:=" value="" style="font-family:Arial; font-size:12; font-weight:bold; color:yellow; background-color:black; border-color:black">
</td>
</tr>
<tr>
<td bgcolor="yellow" align="left" style="font-family:Arial; font-size:12; font-weight:bold; color:black; background-color:yellow">
Inhaber:
</td>
<td style="background-color:red">
<input type="text" name="Inhaber:=" value="" style="font-family:Arial; font-size:12; font-weight:bold; color:yellow; background-color:black; border-color:black">
</td>
</tr>
<tr>
<td bgcolor="yellow" align="left" style="font-family:Arial; font-size:12; font-weight:bold; color:black; background-color:yellow">
Straße + Hausnummer:
</td>
<td style="background-color:red">
<input type="text" name="Strasse:=" value="" style="font-family:Arial; font-size:12; font-weight:bold; color:yellow; background-color:black; border-color:black">
<input type="text" name="Hausnummer:=" size="4" value="" style="font-family:Arial; font-size:12; font-weight:bold; color:yellow; background-color:black; border-color:black">
<tr>
<td bgcolor="yellow" align="left" style="font-family:Arial; font-size:12; font-weight:bold; color:black; background-color:yellow">
Postleitzahl + Ort:
</td>
<td style="background-color:red">
<input type="text" name="Postleitzahl:=" size="5" value="" style="font-family:Arial; font-size:12; font-weight:bold; color:yellow; background-color:black; border-color:black">
<input type="text" name="Ort:=" value="" style="font-family:Arial; font-size:12; font-weight:bold; color:yellow; background-color:black; border-color:black">
<tr>
<td bgcolor="yellow" align="left" style="font-family:Arial; font-size:12; font-weight:bold; color:black; background-color:yellow">
Telefon (Vorwahl + Rufnummer):
</td>
<td style="background-color:red">
<input type="text" name="Telefonvorwahl:=" size="7" value="" style="font-family:Arial; font-size:12; font-weight:bold; color:yellow; background-color:black; border-color:black">
/
<input type="text" name="Telefonrufnummer:=" size=10 value="" style="font-family:Arial; font-size:12; font-weight:bold; color:yellow; background-color:black; border-color:black">
<td bgcolor="yellow" align="left" style="font-family:Arial; font-size:12; font-weight:bold; color:black; background-color:yellow">
Fax (Vorwahl + Rufnummer):
<td>
<input type="text" name="Faxvorwahl:=" size="7" value="" style="font-family:Arial; font-size:12; font-weight:bold; color:yellow; background-color:black; border-color:black">
/
<input type="text" name="Faxrufnummer:=" size="10" value="" style="font-family:Arial; font-size:12; font-weight:bold; color:yellow; background-color:black; border-color:black">
<td bgcolor="yellow" align="left" style="font-family:Arial; font-size:12; font-weight:bold; color:black; background-color:yellow">
Handy (Vorwahl + Rufnummer):
<td>
<input type="text" name="Handyvorwahl:=" size="4" value="" style="font-family:Arial; font-size:12; font-weight:bold; color:yellow; background-color:black; border-color:black">
/
<input type="text" name="Handyrufnummer:=" size="10" value="" style="font-family:Arial; font-size:12; font-weight:bold; color:yellow; background-color:black; border-color:black">
<tr>
<td bgcolor="yellow" align="left" style="font-family:Arial; font-size:12; font-weight:bold; color:black; background-color:yellow">
E-mail:
</td>
<td style="background-color:red">
<input type="text" name="Email:=" value="" style="font-family:Arial; font-size:12; font-weight:bold; color:yellow; background-color:black; border-color:black">
</td>
</tr>
<tr>
<td bgcolor="yellow" align="left" style="font-family:Arial; font-size:12; font-weight:bold; color:black; background-color:yellow">
Homepage (www.IhrName.de):
</td>
<td style="background-color:red">
<input type="text" name="Homepage:=" value="" style="font-family:Arial; font-size:12; font-weight:bold; color:yellow; background-color:black; border-color:black">
</td>
</tr>
<td bgcolor="yellow" align="left" style="font-family:Arial; font-size:12; font-weight:bold; color:black; background-color:yellow">
Eintragsdatum:
</td>
<td style="background-color:red">
<perl>
out '<input type="text" name="Eintragsdatum:=" value="',datum ("jetzt"),'" style="font-family:Arial; font-size:12; font-weight:bold; color:yellow; background-color:black; border-color:black">';
</perl>
</td>
</tr>
<tr>
<td bgcolor="yellow" align="left" style="font-family:Arial; font-size:12; font-weight:bold; color:black; background-color:yellow">
Interesse am <br>
erweiterten Eintrag ? <br>
(JA/NEIN):
</td>
<td style="background-color:red">
<input type="text" name="Interesse:=" value="" style="font-family:Arial; font-size:12; font-weight:bold; color:yellow; background-color:black; border-color:black">
</td>
</tr>
<tr>
<td></td>
<td>
<input type=submit value="Eintragen">
<input type=reset value="Zurücksetzen">
</td>
</tr>
</form>
</table>