Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting Field Size Limits

Status
Not open for further replies.

OrWolf

MIS
Mar 19, 2001
291
How can I verify that data entered in a field is not more than the database is set-up for, without making the field required? I want to limit a certain field to 50 characters, but I don't want it to be a required field. I don't see how this is an option using form field validation.
 
O-

Interesting problem....

You could try these but they may be more of a bandaid fix than the real solution:

Set the length to be 0 for minimum and max length of 50. While it is now required perhaps with the 0 for the minimum it'll help.

Also set the form field length on the actual form to 50.

As I said.... I don't know if a good solution or not but I suppose it might be worth a try.

Best of luck-

Diana
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top