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.

Calculate number of lines in text box

Featured Replies

I currently have a big text field that I fill with a script. When I change the text box on the layout, it can be that one line will jump over and split into 2 (if over 70+ characters), now I would like to find out in exactly how many lines it is split.

I could say if it's higher than 70 characters: 2, higher than 140: 3, … but this is not very foolproof as it could depend on the words used in the text (breaking at a "space"). Is there any foolproof way that I could use for this calculation?

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.