nightdesigns Posted March 29, 2002 Posted March 29, 2002 What would be the easiest way to limit a field to 45 characters? I would prefer something that comes up as soon as they left that field alerting them if it's too long. Thanks -j [ March 29, 2002, 08:53 AM: Message edited by: nightdesigns ]
Fitch Posted March 29, 2002 Posted March 29, 2002 "Maximum number of characters" is now one of the options for Validation in the Define Fields dialog.
RussBaker Posted March 30, 2002 Posted March 30, 2002 For version 5.0 and earlier, set the field validation for the "TExt" to: code: If(Length(TExt)>44,0,1) and display a message like "Toooooo Long" if the validation fails. This will only work once you try to leave the "TExt" field
danjacoby Posted March 30, 2002 Posted March 30, 2002 quote: Originally posted by Fitch: "Maximum number of characters" is now one of the options for Validation in the Define Fields dialog. That would be for v5.5 I presume; v5.0 doesn't have this feature. For earlier versions, you can create a calc field to return a message if the data entry field is too long -- be sure to go into "storage options" and check the "Do not store..." box. The problem is that the calc field doesn't calculate while you're entering data in the entry field; it waits until you exit that field.
nightdesigns Posted April 1, 2002 Author Posted April 1, 2002 quote: Originally posted by Russell Baker: For version 5.0 and earlier, set the field validation for the "TExt" to: code: If(Length(TExt)>44,0,1) and display a message like "Toooooo Long" if the validation fails. This will only work once you try to leave the "TExt" field Works great, thanks.
Recommended Posts
This topic is 8276 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 accountSign in
Already have an account? Sign in here.
Sign In Now