Referrer link / verify information

L

les

I have my website completed and my form created, however,
one piece of information i would like to collect from my
form is the "referrer link". Does anyone know if there
is a script that can get that for me and become part of
my submit?

Also, what is the script for validating an email
address? If i have two email addresses fields, how can i
get email address 2 to verify against #1?

Thanks
 
M

MD Websunlimited

Hi Les,

Use a hidden field in the form with a value set to

document.referrer

<input type="submit" onclick="this.referfield.value = document.referrer;return true;" >

Email

onclick="if (this.form.email1.value == this.form.email2.value) return false; else return true;")

Or

Take a look at J-Bots Form Components at
http://www.websunlimited.com/order/Product/Form/Form_help_dir.htm Compare Two and Validate Email
 
G

Guest

seems too simple. I'll try today!

Thank you
-----Original Message-----
Hi Les,

Use a hidden field in the form with a value set to

document.referrer

<input type="submit" onclick="this.referfield.value =
document.referrer;return true;" >
Email

onclick="if (this.form.email1.value ==
this.form.email2.value) return false; else return true;")
_dir.htm Compare Two and Validate Email
--
Mike -- FrontPage MVP '09 - '02
http://www.websunlimited.com
Featured in "Inside Microsoft FrontPage" by ElementK Journals




"les" <[email protected]> wrote in
message news:[email protected]...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top