Required fields in form & error page

R

Reesa Marchetti

Hi,

Haven't been here for awhile. Looks like the level has really bumped
up :) Anyway, my problem is simple:

I have a form page with many required fields. If someone skips a
required field, on submit, an error page appears. If you click the
link in the error page to return to the form, the form page appears
with all previously filled-out forms blank once again.

This is not a good thing if someone has filled out 19 fields and
omitted just one, to have to start over and fill them all out again.

Is there any way to have the error page return you to the form in its
previous state, with the fields filled in?

Thanks for any and all suggestions.
 
T

Thomas A. Rowe

Do not take the user to an error page, instead let the JavaScript alert happen on the form page, you
can do this just be removing the link to the error page option in the FP Form Properties dialog.

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

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
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.
==============================================
 
A

Andrew Murray

Yes - use Frontpage form field validation; it comes up with an "alert" box
immediately saying to the effect of "This field is required, please fill it
in" or "This field requires numbers only, please do not include alpha
characters"....etc

It's fairly flexible, including the ability to limit the number of
characters in a field e.g. for a text box, you can require at least 1
character and a maximum of say 2500 characters (250 words, or whatever).
 
R

Reesa Marchetti

Hi Andrew,

I don't understand. I'm already using the form field validation for
the required fields. And I have not specified any link to an error
page in the form properties dialog box (it's blank).

Yet when I submit the form minus some of the fields, a default page
appears saying:

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

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

Return to the form." If you click this link, the form page reappears
with all the previously filled in fields blank. BUT if you click your
browser back button, the form reappears with the fields still filled
in.
 

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

Similar Threads


Top