{ "How do I do this with
VB?"}
i'm tring to submit age verification to enable the ability to receive tokens while broadcasting. in my(dom explorer)<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><div class="broadcast_intro">
<p>
You must
<a href="/accounts/age_verification/">submit age verification
</a> to enable the ability to receive tokens while broadcasting.
</p>
</div>?i try to use this form{<h1>Form Validation</h1>
<div id="error"></div>
<form name="myForm" action="" method="post" target="_blank" onsubmit="return validateForm()">
First Name: <input type="text" name="firstName" autofocus required >
<br />
Last Name: <input type="text" name="lastName" required >
<br />
Email: <input id="email" type="email" name="email" placeholder="e.g.,
[email protected]" required>
<br />
Password: <input type="password" name="password1" id="password1" required >
<br />
Confirm Password: <input type="password" name="password2" id="password2" required ><p id="error2"></p>
<br /><br />
************:
<input type="radio" name="************" value="male" >Male
<input type="radio" name="************" value="female">Female
<br /><br />
Quantity:<br />
<input name ="scale" type="range" min="1" max="6" step="1" value="1" >
<br />
1 2 3 4 5 6
<br /><br />
Interests (select all that apply):
<br />
<input type="checkbox" class="radio" name="interests" value="running">This
<input type="checkbox" class="radio" name="interests" value="swimming">That
<input type="checkbox" class="radio" name="interests" value="hiking">Other
<br /><br />
<input name="submit" id="submit" type="submit" value="Hayo!">
</form>//confirmPassword must match password
var errorBox=document.getElementById("error");
var errorText=document.getElementById("error2");
var pass2=document.getElementById("password2");
var pass1=document.getElementById("password1");
pass2.onchange = function() {
if (pass2.value !== pass1.value) {
pass2.style.border="2px solid red";
errorText.innerHTML="Passwords do not match!";
errorText.style.color="red";
//errorBox.style.height="40px";
//errorBox.style.visibility="visible";
//errorBox.innerHTML="<p>Passwords do not match!</p>";
return false;
}
else {
pass2.style.border="2px solid #B5DCF7";
errorText.style.color="green";
errorText.innerHTML="Passwords match!";
return true;
}
};
body {
font-family: Helvetica, sans-serif;
font-size: 14px;
color: #68C48A;//confirmPassword must match password
var errorBox=document.getElementById("error");
var errorText=document.getElementById("error2");
var pass2=document.getElementById("password2");
var pass1=document.getElementById("password1");
pass2.onchange = function() {
if (pass2.value !== pass1.value) {
pass2.style.border="2px solid red";
errorText.innerHTML="Passwords do not match!";
errorText.style.color="red";
//errorBox.style.height="40px";
//errorBox.style.visibility="visible";
//errorBox.innerHTML="<p>Passwords do not match!</p>";
return false;
}
else {
pass2.style.border="2px solid #B5DCF7";
errorText.style.color="green";
errorText.innerHTML="Passwords match!";
return true;
}
};
}
h1 {
font-size:18px;
}
#error {
height: 0px;
width: 250px;
border: 1px dashed orange;
margin-bottom: 10px;
visibility: hidden;
}
#error p {
color: red;
text-align: center;
font-weight: bold;
}
#error2,#password2 {
display: inline;
}
#error2 {
font-size:12px;
}
input {
border-radius: 3px;
border: 2px solid #B5DCF7;
padding-left: 3px;
}
#email {
width: 160px;
}
.radio {
width: 20px;
}
#submit {
background-color: #7EC2F2;
height: 32px;
width: 70px;
color: white;
}Form Validation
First Name:
james
Last Name:
greeno
Email:
[email protected]
Password:
â¢â¢â¢â¢â¢â¢â¢â¢â¢â¢
Confirm Password:
â¢â¢â¢â¢â¢â¢â¢â¢â¢â¢
Passwords match!
************: Male Female
Quantity:
1 2 3 4 5 6
Interests (select all that apply):
This That Other
Hayo! }then i get this for my return(CSRF verification failed. Request aborted.}please can someone help me with right form and show how to install it thanks[/QUOTE]