Contact Page/Validation Page

J

Jason

On the contact page of our website, we have a place where someone can leave a suggestion, problem, praise, etc. and "submit" the email which defaults to our webmaster. There is a place for the user to insert their name, email, phone, fax, etc. We are having a problem with anonymous emails that we need to fix. I have seen this done but unsure of how to do it, but I need to make it where the user must insert their name and email before the actual "submit email" goes through. I don't know if this is done through a validation page, or whatever, but please help.

Any suggestions?
 
T

Tom Pepper Willett

Right click on the form field property for validation.
--
=====================================================
Tom Pepper Willett [Microsoft MVP - FrontPage]
----------------------------------------------------------------------------
-------------------
Microsoft FrontPage:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
http://msdn.microsoft.com/office/understanding/frontpage/

=====================================================
| On the contact page of our website, we have a place where someone can
leave a suggestion, problem, praise, etc. and "submit" the email which
defaults to our webmaster. There is a place for the user to insert their
name, email, phone, fax, etc. We are having a problem with anonymous emails
that we need to fix. I have seen this done but unsure of how to do it, but I
need to make it where the user must insert their name and email before the
actual "submit email" goes through. I don't know if this is done through a
validation page, or whatever, but please help.
|
| Any suggestions?
 
J

Jason

Thanks Tom. I saw that earlier but still can't get it to work. Do I need to create a default "validation page" then if I choose fields that I wanted validated something will pop up. Or will the user be acknowledged somehow that they need to include username and email.
 
T

Thomas A. Rowe

With the form open in FP, right click on a field, then select Field Validation. You do not create
"validation" page.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


Jason said:
Thanks Tom. I saw that earlier but still can't get it to work. Do I need to create a default
"validation page" then if I choose fields that I wanted validated something will pop up. Or will the
user be acknowledged somehow that they need to include username and email.
 
A

Andrew Murray

form validation. right click the form field you want to validate.

In the dialogue box there is an option with a check box labelled "required"
check the box with the tick.....when you run the page, and the user doesn't put
an email address in - when the click submit you will get a message alert box
saying "please complete "Email" field".

I hope this is what you are after.....it won't submit until all the fields are
filedin (so long as you set them as "required" by right-click, then check
"required" and other options might include a text area and you can restrict the
number of words/characters they can type eg 1000 characters (say 250 words
approx).


Jason said:
On the contact page of our website, we have a place where someone can leave a
suggestion, problem, praise, etc. and "submit" the email which defaults to our
webmaster. There is a place for the user to insert their name, email, phone, fax,
etc. We are having a problem with anonymous emails that we need to fix. I have
seen this done but unsure of how to do it, but I need to make it where the user
must insert their name and email before the actual "submit email" goes through. I
don't know if this is done through a validation page, or whatever, but please
help.
 
A

Andrew Murray

No - you need to have it on a web server and test it like you're submitting the
feedback.....you check the box required and a javascript (or similar) alert box
comes up saying "please complete [such and such] field.". It is coded with a
mixture of javascript/web bot thingy.



Jason said:
Thanks Tom. I saw that earlier but still can't get it to work. Do I need to
create a default "validation page" then if I choose fields that I wanted
validated something will pop up. Or will the user be acknowledged somehow that
they need to include username and email.
 
Top