I want to make a registration form with a check box that uses script to make sure that the check box is checked when the form is submitted, then send users to a welcome page(personalized, if possible).
I'm using Microsoft Visual Web Developer 2010 Express. I have two bits of code from various sources, and I'm trying to fuse them using what little knowledge I have of coding/scripting, but it's just not working out for me. >.< Help me please.
This is the code so far~
First, the checkbox/submit combo(copypasta from an old forum post):
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" U-File="http://develop/dHTML/_private/fo… S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
<p>
<input type="checkbox" name="C1" value="ON">
<input type="submit" value="Submit" name="B1" onclick="if (!this.form.C1.checked) { alert('You must agree to our terms and conditions');return false;} else { return true }" >
<input type="reset" value="Reset" name="B2">
</p>
</form>
Second, the default Registration button provided by Web Developer:
<p class="submitButton">
<asp:Button ID="CreateUserButton" runat="server" CommandName="MoveNext" Text="Create User"
ValidationGroup="RegisterUserValidationG…
</p>

