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.

Automatic de-selection

Featured Replies

Thanks to the help from the forum, I was able to write a script that can automatically check values for multiple records in a checkbox set. See:

http://www.fmforums.com/forum/showtopic.php?tid/199116

Now I'd like to know if it's possible to do the same for unchecking values.

Anyone?

To unckeck values, you remove the value form the string (instead of adding it).

This could be done with the Substitute function, but if you have FMP Advanced there is probably a custom function that will do the same thing only more easily.

See here for a method to toggle a value on/off:

http://fmforums.com/forum/showtopic.php?tid/191281/

Note: mind the trailing (or not) CR.

  • Author

I'm sorry, this doesn't seem to work.

The idea is:

field1 = 1,2,3,4... (each checked or unchecked)

By clicking a button I want to deselect all 3's.

Multiple values in a checkbox field are always separated by carriage returns, not commas or anything else. (You may have written the commas only for display, but it's misleading.)

The ideas posted will work.

  • Author

It took me a while, and I had to change a few things in the script, but now I understand. Thank you!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

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.