Latest Version: 1.7.5
Download | Documentation | Buy It
 

Documentation

How to Designate Required Fields (.fsx)

If you want to make sure users fill out certain fields, you can designate them as required. For example, if you want to make sure they entered their name or E-mail address.

Simply add this line to your form:
<INPUT TYPE="hidden" NAME="required" VALUE="1,3,14">

In this example, field1, field3, and field14 are now designated as required.

A field is considered blank if there is nothing in it (of course) or if it only contains spaces or carriage returns ("white space").

Now, when the user forgets to enter some data for a required field, he will see a message indicating that required fields must be filled in, and to hit "BACK" on his web browser.

If you want to have a custom response for users who do not fill out required fields, simple name it "filename.fsx" assuming your html file is called "filename.html" and put it in the same folder as your html file.

Because the response file accepts all HTML tags, you can have links to get visitors back to your questionnaire, instead of telling him to press back. IMPORTANT: All links should include their full path, not their path relative to where the .fsx file is.

<HTML> and </HTML> are automatically put on the file, so you don't need to put these into your .fsx file. (Although no harm is done if you do.)

Here's an example .fsx file:

<TITLE>OOPS!</TITLE>
	    <H1>Please go back and make sure you have filled in
	    your name and e-mail address!</H1>
	    <A HREF="registry.html">Go Back to the form</A>

NOTE: Consider taking advantage of JavaScript for verifying form data!

Back to FormSaver Documentation

Back to FormSaver Home Page



Contact Us

Pliner Solutions is located in Willow Grove, near Philadelphia, Pennsylvania, although we have have clients worldwide. Please contact us for more information about Pliner Solutions FormSaver product questions, or if you have problems using FormSaver at (215) 658-1601 or use our convenient online form.