Follow the instructions that came with the script.
It is independent of Frontpage.
However, I suspect if it's a javascript, you would put a segement of code in
your < input type> for the button
eg <input type="submit" name="submit" value="Submit"
onsubmit="validateEmail();">
or similar.
The onsubmit calls the javascript function that "validates" the email.
The script you have is not going to tell you the email the user enters
really exists, only that the user has entered a bunch of characters in the
format "
[email protected]".
Without further info of what the script really does (can you give more
details?) maybe it is a script that validates "required" fields, which you
can do through frontpage anyway by right-clicking (or double clicking) the
field you want and select "field Properties" then go to "Validation".
The only way you'll know if they enter a real email is if you don't get the
bounced email message back if you send out email letters etc.
You open the the script you downloaded in notepad; then copy and paste it
into the page in Frontpage that requires it. Copying and pasting from
notepad into frontpage ensures you're copying plain text so the html will be
written correctly rather than like the funny codes you see sometime that
represent the characters such as "<" and ">"
Again, follow the instructions that came with the script - or use the
support of the site that had the script (forums, support email etc).
Is it an external js file or is it a script that you'll insert into the html
code?
If it is external you need to put this line in your <head>
<script language="javascript" src="<your folder/validate.js">
(I think that's correct, anyway, can somone else confirm this?)
Hope this helps