Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Limiting a Field to 45 Characters

Featured Replies

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 ]

"Maximum number of characters" is now one of the options for Validation in the Define Fields dialog.

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

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.

  • Author

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.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.