The Validation screen

L

Linda B

When working with forms in Frontpage 2003 -- I can right-click the form field
and select form field properties, I can click validation but there is nothing
available for me to choose on that screen but Maximum length. So I tried
that thinking that putting a number in that will make the field required, but
nothing happens.

What would the options be grayed out?
 
A

Andrew Murray

I assume you're working with the input type "text" in this instance (or
"text-area").
or choose a "data type" other than "no constraints".

In the field validation dialogue, at the top of the dialogue box, you need
to set "Data Type" (under "Display Name") to one of:

"Text",
"integer" or
"Number"

Depending on the type of data you want to enter eg a phone number, then make
it "number" since letters are not applicable to phone numbers in the normal
course of things.

Then check the box "Required" to be able to set the minlength of the field.

etc

Depending on the option you choose, some options are greyed out some are
not.
 
L

Linda B

The data type in the field validation dialogue is "no constraints", but it is
also greyed out so I cannot change it.
 
Top