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.

Calc field from checkbox list

Featured Replies

  • Newbies

I've come across some responses to this, but nothing that has really helped yet, so I apologize if you've seen this before.

I have a field that has a value list (a, b, c, d, e), and want to perform an auto calculation in a 2nd field that displays text based on the results of the first field. For example, if someone checks a, c, and d, the results in field 2 would be:

You checked a

You checked c

You checked d

I can't seem to figure out how to do this. Simple if/thens or case functions will only return one of the results.

I'd prefer not to write a script, but am fine doing so, if necessary.

Any ideas or references would be greatly appreciated! Thanks!

Try using a PatternCount

PatternCount ( ¶ & YourField & ¶, ¶ & "a" & ¶ )

My other suggestion (and preference) is to create 5 number fields and use them as checkboxes with a flag value list of 1.

Then the calc becomes less clunky.

Case ( a and c, "A and C", b and x, "B ad C" ) etc.

How about:

Case (

not IsEmpty ( field ) ,

"You checked " & Substitute ( field , "¶" , "¶You checked " )

)

Oh I didnt see that this was just a display of what was checked. I thought that there was further logic that needed to be processed with Case.

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.