Jump to content

How do I limit the length of a text field?


This topic is 7345 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I want users to fill in text in a text field up to the bottom right edge, then have the box not allow any more characters to be typed. As it is now, the box enlarges as long as they keep typing. I need to do this because the text field appears on another layout that has space limitations. Is there a way to "lock the box" or even specify how many characters it can hold?

Link to comment
Share on other sites

EP, in the field definitions window select your text field and click on options, go to the validation tab and select validate by calcualation, there create a calculation that looks like this

Length (txt) < 20

where txt is your field name and 20 is the max amount of characters, below that calcuation box is a message box where you can specify the message to the user.

Rod

Link to comment
Share on other sites

This topic is 7345 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.