-1
必要な8文字とラジオボタンがチェックされているフィールドがすべて入力されている場合、フォームの送信ボタンを新しいページにするにはどうすればよいですか?フィールドを記入するか空白のままにすると、送信ボタンは何もしません。すべてのアドバイスをありがとう。HTMLすべてのフィールドが機能しない必要があります
HTML:
<form id="form1" method="POST" action=""><br>
<h6>Sign up using the form below...</h6><br>
<label>
Desired user name: <br>
<input type="text" name="username" size="15" minlength="8" maxlength="30" required title="8 characters minimum" required />
</label><br>
<label>
Password: <br>
<input type="password" name="password" size="15" minlength="8" maxlength="30" required title="8 characters minimum" required/>
</label><br>
<label>
Repeat Password: <br>
<input type="password" name="password" size="15" minlength="8" maxlength="30" required title="8 characters minimum" required/>
</label><br><br>
<input type="checkbox" name="agree" required/> I agree to the terms and service of this website<br><br>
<input class="account" type="submit" name ="Submit" value="Submit" formnovalidate onClick="window.location = 'http://www.google.com';"/><br><br>
</form>