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

Clear checkboxes when value of other field changes

Featured Replies

  • Newbies

I need a script that will clear all checkboxes (set field to"") when a user changes the value of another field. The value in that field is changed using a pop-up menu so the script trigger would have to occur once the selction is made.

Example:

1. (Field:Select_Body_Trim) = ZX5 SES

(Field:FTDC) = 1 (checkbox contains "X")

2. User enters Field:Select_Body_Trim and changes value to ZX4 ST using the pop-up menu.

3. New script will set Field:FTDC to "" (checkbox un-checked)

  • Newbies

Ummm... couldn't you do that using the "Clear" script command?

  • Author
  • Newbies

I don't know, that's why I'm asking. Can this script be triggered when a pop-up menu selection is made? As soon as I try to set that to happen, I lose the ability to use the field as a pop-up menu. It changes to a button effectively.

Try making the checkbox field's definition an auto-entered calc with the do not replace existing values option off. The calc would be something like this (I can't test it right now):

FTDC (text, auto entered calc) = if(isempty(Select_Body_Trim); FTDC; "")

When a selection in the Select_Body_Trim field is made, the checkbox is set to "".

Oops, it looks like that checkbox supposed to get cleared whenever the Select_Body_Trim field is changed. An auto entered calc may still work if it's comparing Select_Body_Trim with its previous value, but I can't try it now.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.