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.

Check box runs a script

Featured Replies

  • Newbies

I have a check box

Depending if it is checked or not checked I want to run a script that fills in content in another field.

How do I have the selecting in a check box run a script?

Thanks

One way to do this would be to place an invisible button over the checkbox (and turn off entry to the field).

Users clicking on the button would be launching a script, but they wouldn't know that.

The script could first test whether the checkbox is already checked and if so uncheck it - but if it is not checked, the script could check it then go on to perform the actions you have in mind.

That way, clicking on the checkbox will still check/uncheck it, but ut will also activate your script sequence as appropriate.

  • Author
  • Newbies

That is a great answer and works really well

Thanks

  • 2 weeks later...

If your simply filling in contents of another field... might it be easier to simply specify a calculation for that field with an If statement (If checked then "blah blah blah" else "")

This would not work if you wanted to be able to modify this field.

--

Jason

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.