Form Field Properties

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a requied field, but instead of it going to the form validation error
page, I just want a pop up to point out the requied field needs to be
completed. I have done this on accident before, but can not figure out what I
did.

I thought all i had to do was go to the Validate & input the display name,
but obviously there is more to it.
 
Remove the option to use a error page from the form.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
Field validation tells you on the spot if the data entered is incorrect, a
required field, too few characters, too many characters, letters when it
specifies numbers only etc etc etc. Double click each field, click
"Validation" and then check the options for that field to be validated.
 
It ask for a url for form field validation errors. It states if it is left
blank a default page will be used. So there is no place or option to be
removed. This is the page I hate & it can not be removed bc it is a default
page. I dont wnat to have to build another page & a seperate url bc it will
cause my users to have to use the back button & refill out all the
information. If it is a pop up message, it keeps them with the form & they do
not have to re-input the information.
 
Leave blank.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
I am leaving it blank. It uses the default page when you leave it blank. The
default page is hideous.
 
You could always just do javascript validation.

You can find a very simple example at
http://www.webreference.com/js/tips/000124.html

The basic idea is to put 'onSubmit="return myValidationFunction(this)"'
in your <form> tag and then check each required field to make sure it
is not empty and contains valid data.
 
patrick_henry_1776 said:
You could always just do javascript validation.

You can find a very simple example at
http://www.webreference.com/js/tips/000124.html

The basic idea is to put 'onSubmit="return
myValidationFunction(this)"' in your <form> tag and then check each
required field to make sure it is not empty and contains valid data.

I didn't read the orginal post, but I think that it is important to note
that the validation fiunction must return false when there is an error.

Perhaps that is obvious, but it may be worth saying for those that don't
realise it.
 
Back
Top