Hi Leute, ich bin Einsteiger/Neuling
und verstehe nicht, woran es liegt, dass ich folgendes nicht ausführen kann^^
... oder besser, ist es so überhaupt möglich?
HTML
<!DOCTYPE html>
<html>
<body>
<head>
<meta charset="UTF-8">
<script type="text/javascript">
function Weiter () {
if (document.testform.auswahl_nein.metro_design[1].checked == true && document.testform.one_page[1].checked == true && document.testform.skeuomorphic_design[1].checked == true && document.testform.flat_design[1].checked == true ) {
alert("Please fill out None of these things");
}
}
</script>
</head>
<h2>Designtrend 2015</h2>
<form action="foo.php" name="testform" method="post">
<fildset name="auswahl_nein">
<p>Metro Design<br>
<input type="radio" name="metro_design" value="yes"> yes
<input type="radio" name="metro_design" value="no"> no
Teach me with a comment:
<input type="text" name="metro_design_comment" size="50"><br><br>
</p>
<p>One Pages<br>
<input type="radio" name="one_page" value="yes"> yes
<input type="radio" name="one_page" value="no"> no
Teach me with a comment:
<input type="text" name="one_pages_comment" size="50"><br><br>
</p>
<p>Skeuomorphic Design<br>
<input type="radio" name="skeuomorphic_design" value="yes"> yes
<input type="radio" name="skeuomorphic_design" value="no"> no
Teach me with a comment:
<input type="text" name="skeuomorphic_design_comment" size="50"><br><br>
</p>
<p>Flat Design<br>
<input type="radio" name="flat_design" value="yes"> yes
<input type="radio" name="flat_design" value="no"> no
Teach me with a comment:
<input type="text" name="flat_design_comment" size="50"><br><br>
</p>
</fildset>
None of these things ;)<br>
Teach me with a comment:
<input type="text" name="bulshit_comment" size="50"><br><br><br>
Follow-up questions:
<p>Have you ever followed/used design trend?<br>
<input type="radio" name="Have you ever followed/used design trend?" value="yes"> yes
<input type="radio" name="Have you ever followed/used design trend?" value="no"> no
</p>
<p>Should we follow design trends?<br>
<input type="radio" name="Should we follow design trends?" value="yes"> yes
<input type="radio" name="Should we follow design trends?" value="no"> no
</p><br>
<input type="submit" value="Send" onclick="Weiter()">
</form>
</body>
</html>
Alles anzeigen
Ich würde mich über ein Feedback freuen