Hallo wurzelbert,
ich glaube ich habe es hinbekommen...
<html><head><title>Test</title>
<script type="text/javascript">
function Weiter () {
if (document.Testform.A.checked == true && document.Testform.B.checked == true) {
window.location.href = "WICHTIGE-INFOS.pdf";
} else {
window.location.href = "Testseite_mit_Fehlermeldung.html";
}
}
</script>
</head><body>
<form name="Testform" action="">
<input type="checkbox" name="A" value="1"> STIMME A ZU<br />
<input type="checkbox" name="B" value="2"> UND NATÜRLICH AUCH B
<br><input type="button" value="weiter" onclick="Weiter()">
</form>
<script type="text/javascript">
dhtml = false;
if (document.layers || document.all || document.getElementById)
dhtml = true;
if (dhtml == true && document.Testform.A.defaultChecked == false &&
document.Testform.A.defaultChecked == false)
document.Testform.A.checked = true && document.Testform.B.checked = true;
</script>
</body></html>
Werde das ganze jetzt mal noch testen ob es wirklich funktioniert - Lokal sieht es schonmal gut aus :-)