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.

Featured Replies

Hi,

I have a field (jepg #1) that only shows the first 5 lines, and 90% of the time that's plenty of room to users to explain what they need, but there are sometimes that users will use 10 lines.

Currently the only way to see the lines is to click on the field to extend it. (see Jpeg #2)

I'm trying to see if there's a way to use the conditional formatting to flag the end user that the field has extra lines and he has to click on the field to extend. any ideas how i can do this or if its even duable.

Thanks

FM_Example_1.gif

FM_Example_2.gif

This is tricky in FMP because there is no "line count" function, and counting the number of characters does not help if there carriage returns in the text.

So the difficult part is recognising when there is "too much text" in the field.

The expression for the conditional formatting would be something along the like of counting the number of characters and the number of carriage returns:

Length( self ) > X or Patterncount( self ; "¶" ) > Y

  • Author

THANKS.. I used the pattercount and it worked perfect.

THanks again.

This is tricky in FMP...

... with triggers can be made. :)

FieldWarning.zip

Daniele, the tricky part is working out whether the text fits the space.

The example shows exactly how to do that.

Nice!

Like I said Daniele, it's tricky... and you've done it. Very impressive!

Beautiful solution.

Thank you.

Create an account or sign in to comment

Important Information

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

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.