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.

Order of functions in defining fields

Featured Replies

This seems elementary, but I can't find anything about it and have tried every combination I can think of. I've got a field I want to trim, perform a Let function in and have text "Wrong Format" in the field if the user doesn't enter the correct info for the Let function. In what order should these steps be performed? I would think in as I've listed them, but can't get it to work. Should there be a Remove Text or Reformat Text in there somewhere? Is there a guide somewhere that shows the order functions should be performed? Thanks.

The order of functions depends on the situation. In some cases it doesn't matter, in others changing the order gives different results. If you can show the possible combinations of inputs along with what the desired results should be, we may be able to give you a specific answer.

  • Author

This is the shortest example I have. The Let function produces 5 digits if that's all that's entered and 9 if all 9 are entered. I'm trying to make sure the Wrong Format is brought up if the user happens to enter more than 5 but less than 9. Thanks, Ender.

TrimAll( Work Zip Code ; 1 ; 0 ) /*remove all extra spaces*/

_________________________________________________________________

Let ( [tempZip = Filter ( Work Zip Code ; "0123456789" ) ];

Left ( Work Zip Code ; 5 ) &

If ( Length ( tempZip ) = 9 ; "-" & Right ( tempZip ; 4 ) ; "" ) )

_________________________________________________________________

TextColor("Wrong Format"; RGB(250 ; 0 ; 0)

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.