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.

starting a script based on a checkbox

Featured Replies

I have created a script that will insert a picture in a field depending on the entry into a checkbox field. I need for the user to click on the checkbox and for the checkbox to check (or uncheck)and the script to run. I thought about modifying the script so that it checks the checkbox too, but that doesn't work since I need the script to run based on the entry that is in the checkbox already.

I have tried making the checkbox a button, grouping the checkbox and a button but I can't get both actions to occur. Any suggestions on how to get the script to run and check the check box?

Sounds like to me you need to create a script that will check the check boxes default values.

If you create a script that say's something like:

If "check box" = "", then set the value to: "something (checked)";

<<< Run the script here that you want to run when it is CHECKED! >>>

Else if "check box = "something (checked)", then set the value to: "";

<<< Run the script that you want to run when it is NOT CHECKED (if any).

The button that runs this script would sit OVER the check box, as a "Mask". So the user never really checks the "Check Box". They are just clicking on a button that is doing all of the checking.

I hope this helps.

  • Author

I will give it a try. Thanks for your help

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.