FP 2003 constrain size of data in text area...?

K

Kenneth

Howdy,

I know how to limit the amount of data that can be entered in a form
field in FP2003, but cannot figure out how to limit the amount of data
that can be entered in a text area.

How can I set that limit?

Thanks,
 
T

Thomas A. Rowe

Same way, set via the Form Field Validation.

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

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

Kathleen Anderson [MVP - FP]

In Normal view, right-click on the field and choose form field properties.
Choose Validate, and you can set the maximum length.
 
K

Kenneth

In Normal view, right-click on the field and choose form field properties.
Choose Validate, and you can set the maximum length.

Hi Kathleen & Thomas,

'Seems not. When I tried (and I went there before posting <g>) the max
length field is grayed out unless I check the "required" field.

What am I missing?

Thanks,
 
T

Thomas A. Rowe

To workaround this set the field as required, then set the max length and then switch to HTML and
remove the grey webbot code or just manually add maxlength = "500" or whatever value to the field
tag.

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

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

Kenneth

To workaround this set the field as required, then set the max length and then switch to HTML and
remove the grey webbot code or just manually add maxlength = "500" or whatever value to the field
tag.

Sincere thanks,
 
K

Kenneth

Sincere thanks,

Hi Thomas,

I just gave it a try...

The webbot code displayed as:

"<!--webbot bot="Validation" B-Value-Required="TRUE"
I-Maximum-Length="300" -->"

and rather than removing it, I just changed it to:

"<!--webbot bot="Validation" B-Value-Required="FALSE"
I-Maximum-Length="300" -->"


I assume that will do the job. Do you agree?

Thanks,
 
T

Thomas A. Rowe

Kenneth,

I don't believe I have ever tried that, but if it works great.

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

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

Kenneth

Hi Thomas,

I just gave it a try...

The webbot code displayed as:

"<!--webbot bot="Validation" B-Value-Required="TRUE"
I-Maximum-Length="300" -->"

and rather than removing it, I just changed it to:

"<!--webbot bot="Validation" B-Value-Required="FALSE"
I-Maximum-Length="300" -->"


I assume that will do the job. Do you agree?

Thanks,

Hello again,

I found something even simpler...

As it turns out (and I don't know why I did not discover this earlier)
I can check the "Required" field, and that opens the Max and Min
length fields. I can then enter a Max value, and un-check the Required
field. Doing all that enters the code properly, and works well.

Thanks for your earlier help,
 
T

Thomas A. Rowe

Kenneth,

Even better!

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

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