Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Is there any way I can limit the number of characters a user can enter in a certain field?

I have a script that matches two fields and then displays some related data in a different layout.

Lately it will occasionally display the data from a different field in the record. In each of those cases, the field that is being compared in the find has an extra character, usually a space.

I'm thinking this extra character may be messing up the search (I'm grasping!) and would like to sound an alert or something if the user exceeds 8 characters in that field.

Any ideas?

Thanks--

Susan

Posted

Susan,

In Define Fields push the Options button then on the Validation tab you will find Maximum Number of Characters. Check the box and insert 8. That will not allow the user to save a record where the field contains more than 8 characters. He or she could physically enter lots of characters but would get a warning message when trying to save the change.

You may also want to explore the Validated By Calculation method too. That way you could prevent the user from entering carriage returns or spaces.

Posted

Thank you, Ted! I can't believe I didn't see that before--duh! I tested it with an extra letter, a space, and a return, and got my error message everytime. Now hopefully it will solve the wrong data problem.

Susan

This topic is 7305 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.