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

Featured Replies

I have a nested case set in my address book that returns one of three counties if the zip code falls in certain ranges. If the zip code does not match any of the ranges I set up in my calculation, is there a way to let the user input the county himself? I guess I'm asking how one could enter text into a calculation field, or if that's possible.

Here's my calculation, FWIW:

Case (Student Zip ≥ 98130 and Student Zip ≤ 98288; "King";

Student Zip ≥ 95602 and Student Zip ≤ 98293;"Snohomish";

Student Zip ≥ 98329 and Student Zip ≤ 98499; "Pierce")

The problem with this method is that zip codes don't exactly line up with counties, and we may have a student with an outside zip. So can I make the field ultimately completely modifiable by the user?

Have you tried using an auto-enter calculation so the calculated value can overridden?

  • Author

That seems like a good idea, but when I try to do it, the whole thing is borked. For some reason, using the exact same calculation as an autoenter for a field makes it so that it doesn't work (every county is returned as King). Do calculations work differently when used as auto-enter?

Thanks so much -

Daniel

Hi

1) be sure to uncheck the box: "Do not replace existing..."

2) the calc must be so modified, assuming that the name of this field is "CALCULATION":

Case(

Student Zip ≥ 98130 and Student Zip ≤ 98288; "King";

Student Zip ≥ 95602 and Student Zip ≤ 98293;"Snohomish";

Student Zip ≥ 98329 and Student Zip ≤ 98499; "Pierce";

CALCULATION

)

The second point is not a good idea, IMHO. There are 3 counties with known zip codes. Suppose a student has the zip code "98130", which returns "King". Now the student moves to another county, and the new zip code is "99999". Entering a new zip code with no match should leave the County field empty, ready to be filled manually. The suggested formula would re-enter "King".

as always comment is right !

the calc must be:

Case(

Student Zip ≥ 98130 and Student Zip ≤ 98288; "King";

Student Zip ≥ 95602 and Student Zip ≤ 98293;"Snohomish";

Student Zip ≥ 98329 and Student Zip ≤ 98499; "Pierce";

""

)

The default result isn't required on Case() or If(). FM assumes empty result unless specified - since vs. 7. :wink2:

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.