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

  • Thread starter Thread starter Kenneth
  • Start date Start date
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,
 
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.
==============================================
 
In Normal view, right-click on the field and choose form field properties.
Choose Validate, and you can set the maximum length.
 
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,
 
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.
==============================================
 
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,
 
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,
 
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.
==============================================
 
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,
 
Kenneth,

Even better!

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

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

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

Back
Top