function chkFormular()
{
if (document.goform.fach1.value == "")
{
if (document.goform.fach2.value == "")
{
if (document.goform.fach3.value == "")
{
if (document.goform.fach4.value == "")
{
if (document.goform.fach5.value == "")
{
if (document.goform.ausb1.value == "")
{
if (document.goform.ausb2.value == "")
{
if (document.goform.ausb3.value == "")
{
if (document.goform.ausb4.value == "")
{
if (document.goform.name2.value == "")
{
if (document.goform.plz.value == "")
{
if (document.goform.ort.value == "")
{
alert("Bitte geben Sie mindestens ein Suchkriterium ein");
document.goform.name2.focus();
return false;
}
}
}
}
}
}
}
}
}
}
}
}
}
Ich weiiiiß :-) Das ist nicht schön. (Und es funktioniert leider auch nicht). Aber wie geht das in JavaScript?
Danke
Tom