Question about validating fields

  • Thread starter Thread starter per
  • Start date Start date
P

per

Hi there,
I have set fields for validations. Sometimes an error returns text on a web
page and other times a dialogue box pops up. What or how does frontpage
decide to use an HTML page or the dialogue box. I would like have the
dialogue box instead.
Thanks in advance for your help.
 
Validation is JavaScript and done with alerts
any other page errors are for processing errors, not validation
Provide specific examples of the errors

--




| Hi there,
| I have set fields for validations. Sometimes an error returns text on a web
| page and other times a dialogue box pops up. What or how does frontpage
| decide to use an HTML page or the dialogue box. I would like have the
| dialogue box instead.
| Thanks in advance for your help.
| --
| Phillip
|
|
 
Hi Stefan,
On this page http://www.houseofman.com/contact_us.htm I set one of the
service field to "data required".

I intensionally ignored completing the form so the following messages is
returned.

Form Validation Error
Please correct the information you provided by following these steps, then
submit the information again:

a.. The first "Service" option is not a valid selection. Please choose one
of the other options.

Return to the form.

This is normal and I expect the message to be returned. However, what I
don't understand is that sometimes the error is returned in the form of a
web page and other times it is returned in the form of a pop-up dialogue
box. Why?

Personally I prefer a dialogue box to pop up because it looks better. I hope
I've explained myself better this time <smile>.
 
It depends on what is generating the message, if it is the JavaScript validation, then you will see
the popup. If it is the server or a code issue, then you will see a page.

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

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

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

Back
Top