also hier ein kleiner auszug der funktion:
function CheckForm() {
if(window.document.productadd.kategorie.value == 0||
window.document.productadd.kategorie.value == ''){
alert('ACHTUNG\nBitte eine Kategorie auswählen');
return false;
}
if(window.document.productadd.marke_input[0].checked == true &&
(window.document.productadd.marke.value == 0||
window.document.productadd.marke.value == '')){
alert('ACHTUNG\nBitte eine Marke auswählen');
return false;
}
if(window.document.productadd.marke_input[1].checked == true &&
(window.document.productadd.marke_input_text.value == '')){
alert('ACHTUNG\nBitte eine Marke eingeben');
return false;
}
.
.
.
if (CheckForm() == true)
window.document.productadd.submit();
}
danke!
gruss,elar.