[thelist] redirect email validate
Peter Brunone (EasyListBox.com)
peter at easylistbox.com
Mon Jul 26 13:34:34 CDT 2004
You'll probably want to be sure to URLEncode the email
address... I know this is built in with platforms like ASP/ASP.NET, and
most likely in others as well.
-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Dan McCullough
Sent: Monday, July 26, 2004 1:04 PM
To: thelist at lists.evolt.org
Subject: [thelist] redirect email validate
Okay so some of you remember my iframes email, well I have been boncing
a few other ideas around.
One of them is using my currect JavaScript email validation script to
push the URL and redirect back to the correct page.
<script type="text/javascript">
function checkErrors(theForm){
for(i=0; i < theForm.length; i++){
if(theForm.elements[i].name == "email_address"){
var x = theForm.elements[i].value;
var filter =
/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
if (!filter.test(x)){
alert('Please enter a valid email address')
theForm.elements[i].focus()
return false
}
}
}
return true
}
</script>
so in here I need to send a the email address in a URL string
http://www.somedomain.com/server/campaign?id=987&email_address=re@re.com
meanwhile I need that to go quietly and need the page to refresh.
Any thoughts?
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
More information about the thelist
mailing list