Create a new form page in FP using File New (More page Templates) and select the Forms Wizard Page
- do not apply any form field validation
Test the saved form page in the Browser
- If it doesn't work contact your host to repair the FP SE or enable Email Transport
(if you get an error page - it is not a validation error it is a form handler error)
- If it works, then apply field validation to your form fields, and test again
(do not edit ANY html code in the pages)
| 1) The form code is what is added by FP when you select Form field validation
| 2) If the user has JavaScript disabled , there is No server side validation
|
| --
|
| _____________________________________________
| SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| "Warning - Using the F1 Key will not break anything!" (-;
| To find the best Newsgroup for FrontPage support see:
|
http://www.net-sites.com/sitebuilder/newsgroups.asp
| _____________________________________________
|
|
| | "you never get a page unless the FP SE are in trouble"
| |
| | For the benefit of anyone following along, it turns out that the problem lay
| | in the form itself. I created a simple test form and compared it with the
| | one that refused to validate on the client. The <FORM> tag for the working
| | form contained ONLY the capitalized text at the beginning of the tag shown
| | below; removing the remainder (from "onSubmit" through the end) from the
| | malfunctioning form restored client validation. Where the other stuff came
| | from is beyond me, as I don't see an option in Form Properties that controls
| | this.
| |
| | <FORM METHOD="POST" ACTION="--WEBBOT-SELF--"
| | onSubmit="location.href='_derived/nortbots.htm';return false;"
| | webbot-onSubmit language="JavaScript" name="FrontPage_Form1">
| |
| | "you can create a custom error page if there is a FP SE or server error and
| | in form properties pick that"
| |
| | Which brings us back to my original question. There are TWO conditions
| | under which the user will see a server-generated "error" page, only one of
| | which is the result of a server or SE failure. I assume that 99% of users
| | will be using client validation, but (from my reading) those who have
| | disabled scripting in MSIE will be validated on the server. Thus, in
| | additionTo quote my original post:
| |
| | -----------------
| | When validation is performed on the server, a
| | default Form Validation Error page is displayed listing all errors, with a
| | "Return to the form" link at the bottom. While clicking this link (a simple
| | <href>) does indeed return to the form, all of the user's input is lost.
| | Returning to the form, however, by clicking the browser's Back button
| | preserves the user's input. I would thus like to develop my own
| | validation-failure page without the deadly link. Form
| | Properties>Options>Confirmation Page provides the option to specify the URL
| | of a custom validation failure page, confirming that this should be
| | possible.
| |
| | I've developed my own confirmation page using Insert>Web Component>Advanced
| | Controls>Confirmation Field, but I can't figure out how to build a failure
| | page -- how do I know which fields failed validation? Looking at the source
| | of the default page is not helpful; except for the link described above,
| | it's all just text.
| | -----------------
| |
| | The key, of course, is determining which fields failed server validation.
| |
| | This is a case that would affect a small number of users, to be sure, but I
| | know that I'd sure be ticked off if I lost a form's worth of typing.
| |
| | Thanks again to anyone with a suggestion.
| |
| | | | > FP Validation is done w/ JavaScript and gives you an alert popup for each
| | error w/o ever leaving the form page - Open your page in
| | > IE and View Source
| | > - you never get a page unless the FP SE are in trouble
| | > - you can create a custom error page if there is a FP SE or server error
| | and in form properties pick that
| | >
| | > --
| | >
| | > _____________________________________________
| | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| | > "Warning - Using the F1 Key will not break anything!" (-;
| | > To find the best Newsgroup for FrontPage support see:
| | >
http://www.net-sites.com/sitebuilder/newsgroups.asp
| | > _____________________________________________
| | >
| | >
| | | | > | I've reset the FP extensions and republished the site in the past when I
| | got
| | > | that error message, so I can deal with that, and/or find a new host if
| | > | necessary.
| | > |
| | > | Aside from that, what about creating a custom validation-failure page?
| | > |
| | > | Thanks again.
| | > |
| | > | | | > | > The form does not work and the error message says contact your host
| | for
| | > | the web log for details
| | > | > - suspect it's a permissions or FP SE problem
| | > | > Have them check the health on the FP SE and the permissions for the
| | > | _private folder
| | > | > also make sure the 2 file your are attempting to write to exist in the
| | > | _private folder
| | > | >
| | > | > IMHO
| | > | > the type of information you are collecting should only be done on a
| | secure
| | > | server
| | > | >
| | > | > --
| | > | >
| | > | > _____________________________________________
| | > | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| | > | > "Warning - Using the F1 Key will not break anything!" (-;
| | > | > To find the best Newsgroup for FrontPage support see:
| | > | >
http://www.net-sites.com/sitebuilder/newsgroups.asp
| | > | > _____________________________________________
| | > | >
| | > | >
| | > | | | > | > | Good gosh no, I'm just a beginner. I've written no custom
| | validation
| | > | code,
| | > | > | either client- or server-side -- just the built-in validation
| | provided
| | > | by
| | > | > | Tag Properties>Validate. There's no ASP involved -- just the FP
| | > | extensions.
| | > | > |
| | > | > | It seems that there are two distinct issues here:
| | > | > |
| | > | > | 1) For some reason, my test machine is not using client-side
| | validation.
| | > | > | This happens even with the Norton Firewall (which can prevent script
| | > | > | execution) disabled. MSIE Tools>Options>Security has Scripting
| | enabled.
| | > | I
| | > | > | don't see any FrontPage options to disable client-side validation,
| | > | though
| | > | > | conceivably I may have missed something.
| | > | > |
| | > | > | 2) So server-side validation is being used on this test machine, and
| | I
| | > | > | presume the machines of some potential users of my page. The
| | question
| | > | then
| | > | > | is how to deal with this case by writing a custom failure page.
| | > | > |
| | > | > | My system is hosted by Yahoo with FP2002 extensions. There's
| | nothing
| | > | really
| | > | > | special about it, but the URL for the form page is:
| | > | > |
http://www.ewillsandtrusts.com/questionnaire.htm. I've been having
| | some
| | > | > | other problems as well with Yahoo; sometimes I get a "FrontPage
| | Error"
| | > | > | message when I submit the form.
| | > | > |
| | > | > | | | > | > | > If you are using the default FP field validation it is JavaScript
| | and
| | > | > | Client side (not server side) and will display a JavaScript
| | > | > | > alert for each error w/o leaving the forms page
| | > | > | >
| | > | > | > If you have spun your own JavaScript validation, you need to
| | provide
| | > | more
| | > | > | info
| | > | > | > If you are using Server side validation (ASP/PHP, etc) you also
| | need
| | > | to
| | > | > | provide more info
| | > | > | >
| | > | > | > Explain what you are doing and provide a URL
| | > | > | >
| | > | > | >
| | > | > | > --
| | > | > | >
| | > | > | > _____________________________________________
| | > | > | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| | > | > | > "Warning - Using the F1 Key will not break anything!" (-;
| | > | > | > To find the best Newsgroup for FrontPage support see:
| | > | > | >
http://www.net-sites.com/sitebuilder/newsgroups.asp
| | > | > | > _____________________________________________
| | > | > | >
| | > | > | >
| | > | > | | | > | > | > | I've got a page containing a form with a number of fields that
| | have
| | > | > | > | validation rules defined. When validation is performed on the
| | > | server, a
| | > | > | > | default Form Validation Error page is displayed listing all
| | errors,
| | > | with
| | > | > | a
| | > | > | > | "Return to the form" link at the bottom. While clicking this
| | link
| | > | (a
| | > | > | simple
| | > | > | > | <href>) does indeed return to the form, all of the user's input
| | is
| | > | lost.
| | > | > | > | Returning to the form, however, by clicking the browser's Back
| | > | button
| | > | > | > | preserves the user's input. I would thus like to develop my own
| | > | > | > | validation-failure page without the deadly link. Form
| | > | > | > | Properties>Options>Confirmation Page provides the option to
| | specify
| | > | the
| | > | > | URL
| | > | > | > | of a custom validation failure page, confirming that this should
| | be
| | > | > | > | possible.
| | > | > | > |
| | > | > | > | I've developed my own confirmation page using Insert>Web
| | > | > | Component>Advanced
| | > | > | > | Controls>Confirmation Field, but I can't figure out how to build
| | a
| | > | > | failure
| | > | > | > | page -- how do I know which fields failed validation? Looking
| | at
| | > | the
| | > | > | source
| | > | > | > | of the default page is not helpful; except for the link
| | described
| | > | above,
| | > | > | > | it's all just text.
| | > | > | > |
| | > | > | > | FrontPage Help did not prove helpful either, nor did a Google
| | > | search.
| | > | > | > |
| | > | > | > | Thanks in advance for any help.
| | > | > | > |
| | > | > | > |
| | > | > | > |
| | > | > | >
| | > | > | >
| | > | > |
| | > | > |
| | > | >
| | > | >
| | > |
| | > |
| | >
| | >
| |
| |
|
|