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.

Multiple check boxes

Featured Replies

I am working with a quote database where the particular quote could have special instructions if the item being shipped is extremely heavy, tall or wide (it's for a trucking co that hauls huge pieces of cargo). I have created a field that includes 3 choices as checkboxes (heavy, tall and wide) and if the particular item is heavy and tall, I am trying to get a paragraph of text instructions to print out at the bottom of the quote. One paragraph would be for heavy item instructions and the other would be for the tall item. Problem is that when I check both boxes, heavy and tall neither paragraph prints.

How are you making the paragraph print?

  • Author

I was thinking in terms of a calc field for each of the 3 checkbox values, and then another calc field that concatenated the above.

ie. If Tall is checked then print "The cargo on this load has a height greater than 15 feet and therefore has to take this route..." If Heavy is checked then print "The cargo on this load is greater than 5 tons and due to roadway restrictions, you must take the X-Interstate..."

Hi,

I encountered the same prob... Here's what I did, but maybe there's a simpler way.

(I'm working on a frensh FMP version, so I'm not sure about the exact terms, I hope that'll be OK)

1- create a calc field that replace the return sign (

  • Author

Thanks for the reply, I cannot find anything that "looks" for the text as you describe. And specifically can't find a function called Occur or Occurrence. Would appreciate someone pointing me in the right direction for some function to search for a word in a field. If I can find such a function Olive, I think your suggestion will work. I have tested removing the

Pattercount is probably what he is referring to.

  • Author

Olive and Capt. thank you both. After using the

To reduce maintenance in the future, don't "hard code" the messages into the calculation. Instead, create global text fields -- one for each message -- and use the global field in the calculation. This will make changing the messages relatively easy in the future.

If(PatternCount( sub_checkbox , "Height")=1, gMessage1,"") &

If(PatternCount( sub_checkbox , "Weight")=1, gMessage2,"")

  • Author

Thanks Vaughn, I will do that to the real set of data, I am just working with an old copy.

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.