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.

Inserting Symbols after text

Featured Replies

This may be real easy to accomplish, but I'm not sure how. I am trying to input latitude and longitude coordinates into a field, and need to put °, ', " after the numbers.

I want to make it so that when I create a Merge Field that the symbol will show up, but I don't want to the symbol to show up if there is no value in the box.

Currently I have this as my field.

Latitude: <>° <>' <>"

it shows up as

34° 54' 1.52" when data is entered and ° ' " when nothing is there. My goal is for the symbols to not be on the form if numbers aren't inputted.

Thanks for the help.

Mike

Creat a new unstored Text Calc field =

Let([

L123 = Latitude & Latitude2 & Latitude3;

Display = If (not IsEmpty(L123); Latitude & "" " & Latitude2 & "' " & Latitude3 & """)];

Display)

Use the Calc field to display the 3 Latitudes.

  • Author

Thank you very much, it worked great, but is there a way to make it so that Latitude, Latitude2, and Latitude3 are their own separate categories, so that if there is a value for 1 and 2, only those symbols will appear and not the symbol for 3.

so if the value is 34° 55.55' there wont be the " after it.

Thanks again.

Mike

Edited by Guest

Well it may not be perfect depending on when you want the Calculation to display something. For example if all 3 Latitudes do not have a value then display nothing. In which case...

If(IsEmpty(Latitude) or IsEmpty(Latitude2) or IsEmpty(Latitude3); "" ; Latitude & "" " & Latitude2 & "' " & Latitude3 & """)

or

If(not IsEmpty(Latitude) and not IsEmpty(Latitude2) and not IsEmpty(Latitude3); Latitude & "" " & Latitude2 & "' " & Latitude3 & """)

would work better.

  • Author

That takes all the data away if all three fields aren't entered, but is there a way to just take the field that has no data and hide it's symbol.

I appreciate the help.

Mike

  • Newbies

Hi Mike,

Try a calculation field with the following:

Case ( not IsEmpty ( Latitude ) ; Latitude & "º"; "" ) &

Case ( not IsEmpty ( Latitude2 ) ; Latitude2 & "'"; "" ) &

Case ( not IsEmpty ( Latitude3 ) ; Latitude3 & """; "" )

Hope that helps.

Edited by Guest

  • Author

Thanks for the help.

This works, except if there are a couple of decimal places in the numbers, then the symbols are covered up and there are no spaces between numbers.

Theres no need for the case statements, simply

If ( not IsEmpty ( Latitude ) ; Latitude & "º ") &

If ( not IsEmpty ( Latitude2 ) ; Latitude2 & "' ") &

If ( not IsEmpty ( Latitude3 ) ; Latitude3 & "" ")

should suffice. Make sure your calculation result returns text, not a number.

  • Author

Thank you very much. It looks great now. I appreciate the help.

I think I was forgetting to display it as text.

Mike

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.