Jump 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.

Limit data entry content by physical field length

Featured Replies

Is there a way to limit the input of data into a text field per the width of the field itself? I can't use a "hard" character count in the field set-up because the text font is proportional; I don't want excess text to scroll to the next line.

Any ideas? TIA for your help!

Rich

There is no mechanism for fixing width without the text cutting off in the text box.

The only idea that I can think of that will work 100% of the time is to use a fixed-width font, like Courier. I've used that for printing on blank forms before.

Otherwise, if you wanted to use a specific font, you'd have to figure out the width of the widest character for said font and size (probably capital M), and figure out how many of those characters will fit on the line, and adjust the field validation to only allow that many characters.

See if this helps:

http://fmforums.com/forum/showtopic.php?tid/211026/

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.