Commit efcbe61c authored by akwizgran's avatar akwizgran

Don't show thank you message if signup form fails validation.

parent da2d6584
......@@ -16,17 +16,17 @@
<a href="index.html"><div id="logo"><img src="img/briar_logo_large.png" alt="Briar" class="logo"/></div></a>
<div id="nav">
<div id="signup">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit" onClick="_submit_form();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit">Keep me updated</button>
</form>
<div id="signupconf">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form(){
function submitForm(){
document.getElementById('signupform').style.display = 'none';
document.getElementById('signupconf').style.display = 'block';
return true
return true;
}
//-->
</script>
......@@ -75,17 +75,17 @@
<div id="footer_container">
<div id="footer">
<div id="signup2">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm2()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit2" onClick="_submit_form2();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit2">Keep me updated</button>
</form>
<div id="signupconf2">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form2(){
function submitForm2(){
document.getElementById('signupform2').style.display = 'none';
document.getElementById('signupconf2').style.display = 'block';
return true
return true;
}
//-->
</script>
......
......@@ -16,17 +16,17 @@
<a href="index.html"><div id="logo"><img src="img/briar_logo_large.png" alt="Briar" class="logo"/></div></a>
<div id="nav">
<div id="signup">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit" onClick="_submit_form();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit">Keep me updated</button>
</form>
<div id="signupconf">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form(){
function submitForm(){
document.getElementById('signupform').style.display = 'none';
document.getElementById('signupconf').style.display = 'block';
return true
return true;
}
//-->
</script>
......@@ -79,17 +79,17 @@
<div id="footer_container">
<div id="footer">
<div id="signup2">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm2()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit2" onClick="_submit_form2();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit2">Keep me updated</button>
</form>
<div id="signupconf2">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form2(){
function submitForm2(){
document.getElementById('signupform2').style.display = 'none';
document.getElementById('signupconf2').style.display = 'block';
return true
return true;
}
//-->
</script>
......
......@@ -16,17 +16,17 @@
<a href="index.html"><div id="logo"><img src="img/briar_logo_large.png" alt="Briar" class="logo"/></div></a>
<div id="nav">
<div id="signup">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit" onClick="_submit_form();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit">Keep me updated</button>
</form>
<div id="signupconf">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form(){
function submitForm(){
document.getElementById('signupform').style.display = 'none';
document.getElementById('signupconf').style.display = 'block';
return true
return true;
}
//-->
</script>
......@@ -105,17 +105,17 @@
<div id="footer_container">
<div id="footer">
<div id="signup2">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm2()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit2" onClick="_submit_form2();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit2">Keep me updated</button>
</form>
<div id="signupconf2">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form2(){
function submitForm2(){
document.getElementById('signupform2').style.display = 'none';
document.getElementById('signupconf2').style.display = 'block';
return true
return true;
}
//-->
</script>
......
......@@ -15,17 +15,17 @@
<a href="index.html"><div id="logo"><img src="img/briar_logo_large.png" alt="Briar" class="logo"/></div></a>
<div id="nav">
<div id="signup">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit" onClick="_submit_form();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit">Keep me updated</button>
</form>
<div id="signupconf">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form(){
function submitForm(){
document.getElementById('signupform').style.display = 'none';
document.getElementById('signupconf').style.display = 'block';
return true
return true;
}
//-->
</script>
......@@ -68,17 +68,17 @@
<div id="footer_container">
<div id="footer">
<div id="signup2">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm2()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit2" onClick="_submit_form2();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit2">Keep me updated</button>
</form>
<div id="signupconf2">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form2(){
function submitForm2(){
document.getElementById('signupform2').style.display = 'none';
document.getElementById('signupconf2').style.display = 'block';
return true
return true;
}
//-->
</script>
......
......@@ -16,17 +16,17 @@
<a href="index.html"><div id="logo"><img src="img/briar_logo_large.png" alt="Briar" class="logo"/></div></a>
<div id="nav">
<div id="signup">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit" onClick="_submit_form();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit">Keep me updated</button>
</form>
<div id="signupconf">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form(){
function submitForm(){
document.getElementById('signupform').style.display = 'none';
document.getElementById('signupconf').style.display = 'block';
return true
return true;
}
//-->
</script>
......@@ -71,17 +71,17 @@
<div id="footer_container">
<div id="footer">
<div id="signup2">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm2()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit2" onClick="_submit_form2();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit2">Keep me updated</button>
</form>
<div id="signupconf2">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form2(){
function submitForm2(){
document.getElementById('signupform2').style.display = 'none';
document.getElementById('signupconf2').style.display = 'block';
return true
return true;
}
//-->
</script>
......
......@@ -16,17 +16,17 @@
<a href="index.html"><div id="logo"><img src="img/briar_logo_large.png" alt="Briar" class="logo"/></div></a>
<div id="nav">
<div id="signup">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit" onClick="_submit_form();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit">Keep me updated</button>
</form>
<div id="signupconf">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form(){
function submitForm(){
document.getElementById('signupform').style.display = 'none';
document.getElementById('signupconf').style.display = 'block';
return true
return true;
}
//-->
</script>
......@@ -75,17 +75,17 @@
<div id="footer_container">
<div id="footer">
<div id="signup2">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm2()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit2" onClick="_submit_form2();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit2">Keep me updated</button>
</form>
<div id="signupconf2">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form2(){
function submitForm2(){
document.getElementById('signupform2').style.display = 'none';
document.getElementById('signupconf2').style.display = 'block';
return true
return true;
}
//-->
</script>
......
......@@ -16,17 +16,17 @@
<a href="index.html"><div id="logo"><img src="img/briar_logo_large.png" alt="Briar" class="logo"/></div></a>
<div id="nav">
<div id="signup">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit" onClick="_submit_form();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit">Keep me updated</button>
</form>
<div id="signupconf">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form(){
function submitForm(){
document.getElementById('signupform').style.display = 'none';
document.getElementById('signupconf').style.display = 'block';
return true
return true;
}
//-->
</script>
......@@ -65,17 +65,17 @@
<div id="footer_container">
<div id="footer">
<div id="signup2">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm2()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit2" onClick="_submit_form2();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit2">Keep me updated</button>
</form>
<div id="signupconf2">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form2(){
function submitForm2(){
document.getElementById('signupform2').style.display = 'none';
document.getElementById('signupconf2').style.display = 'block';
return true
return true;
}
//-->
</script>
......
......@@ -16,17 +16,17 @@
<a href="index.html"><div id="logo"><img src="img/briar_logo_large.png" alt="Briar" class="logo"/></div></a>
<div id="nav">
<div id="signup">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit" onClick="_submit_form();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit">Keep me updated</button>
</form>
<div id="signupconf">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form(){
function submitForm(){
document.getElementById('signupform').style.display = 'none';
document.getElementById('signupconf').style.display = 'block';
return true
return true;
}
//-->
</script>
......@@ -62,17 +62,17 @@
<div id="footer_container">
<div id="footer">
<div id="signup2">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm2()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit2" onClick="_submit_form2();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit2">Keep me updated</button>
</form>
<div id="signupconf2">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form2(){
function submitForm2(){
document.getElementById('signupform2').style.display = 'none';
document.getElementById('signupconf2').style.display = 'block';
return true
return true;
}
//-->
</script>
......
......@@ -16,17 +16,17 @@
<a href="index.html"><div id="logo"><img src="img/briar_logo_large.png" alt="Briar" class="logo"/></div></a>
<div id="nav">
<div id="signup">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit" onClick="_submit_form();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit">Keep me updated</button>
</form>
<div id="signupconf">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form(){
function submitForm(){
document.getElementById('signupform').style.display = 'none';
document.getElementById('signupconf').style.display = 'block';
return true
return true;
}
//-->
</script>
......@@ -108,17 +108,17 @@ servers to block.</li>
<div id="footer_container">
<div id="footer">
<div id="signup2">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm2()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit2" onClick="_submit_form2();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit2">Keep me updated</button>
</form>
<div id="signupconf2">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form2(){
function submitForm2(){
document.getElementById('signupform2').style.display = 'none';
document.getElementById('signupconf2').style.display = 'block';
return true
return true;
}
//-->
</script>
......
......@@ -16,22 +16,22 @@
<a href="index.html"><div id="logo"><img src="img/briar_logo_large.png" alt="Briar" class="logo"/></div></a>
<div id="nav">
<div id="signup">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit" onClick="_submit_form();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit">Keep me updated</button>
</form>
<div id="signupconf">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form(){
function submitForm(){
document.getElementById('signupform').style.display = 'none';
document.getElementById('signupconf').style.display = 'block';
return true
return true;
}
//-->
</script>
</div> <!-- signup -->
<label for="menu-toggle"><img src="img/menu.png"></label>
<label for="menu-toggle"><img src="img/menu.png"/></label>
<input type="checkbox" id="menu-toggle"/>
<ul id="menu">
<li><a href="index.html" id="indexnav">Home</a></li>
......@@ -90,17 +90,17 @@
<div id="footer_container">
<div id="footer">
<div id="signup2">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm2()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit2" onClick="_submit_form2();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit2">Keep me updated</button>
</form>
<div id="signupconf2">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form2(){
function submitForm2(){
document.getElementById('signupform2').style.display = 'none';
document.getElementById('signupconf2').style.display = 'block';
return true
return true;
}
//-->
</script>
......
......@@ -15,17 +15,17 @@
<a href="../index.html"><div id="logo"><img src="../img/briar_logo_large.png" alt="Briar" class="logo"/></div></a>
<div id="nav">
<div id="signup">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit" onClick="_submit_form();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit">Keep me updated</button>
</form>
<div id="signupconf">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form(){
function submitForm(){
document.getElementById('signupform').style.display = 'none';
document.getElementById('signupconf').style.display = 'block';
return true
return true;
}
//-->
</script>
......@@ -126,17 +126,17 @@
<div id="footer_container">
<div id="footer">
<div id="signup2">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm2()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit2" onClick="_submit_form2();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit2">Keep me updated</button>
</form>
<div id="signupconf2">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form2(){
function submitForm2(){
document.getElementById('signupform2').style.display = 'none';
document.getElementById('signupconf2').style.display = 'block';
return true
return true;
}
//-->
</script>
......
......@@ -16,17 +16,17 @@
<a href="index.html"><div id="logo"><img src="img/briar_logo_large.png" alt="Briar" class="logo"/></div></a>
<div id="nav">
<div id="signup">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit" onClick="_submit_form();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit">Keep me updated</button>
</form>
<div id="signupconf">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form(){
function submitForm(){
document.getElementById('signupform').style.display = 'none';
document.getElementById('signupconf').style.display = 'block';
return true
return true;
}
//-->
</script>
......@@ -80,17 +80,17 @@
<div id="footer_container">
<div id="footer">
<div id="signup2">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get">
<form id="signupform2" action="https://sourceforge.net/projects/briar/lists/briar-announce" target="_blank" method="get" onSubmit="submitForm2()">
<input placeholder="Email address" type="email" name="email" tabindex="2"></input>
<button name="submit" type="submit" id="signup-submit2" onClick="_submit_form2();">Keep me updated</button>
<button name="submit" type="submit" id="signup-submit2">Keep me updated</button>
</form>
<div id="signupconf2">Thanks! We'll keep you updated.</div>
<script language="JavaScript">
<!--
function _submit_form2(){
function submitForm2(){
document.getElementById('signupform2').style.display = 'none';
document.getElementById('signupconf2').style.display = 'block';
return true
return true;
}
//-->
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment