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.

Having a script run on it's own

Featured Replies

I have written a script that looks at two fields and if they aren't empty then it it runs a set field step to check a check box. I would like this to run automatically. Perhaps when someone type something into a field, then it runs this script. Is that possible. Can I do that as part off a calculation?

  • Author

I have a partial answer to my question. I changed the field to a calculation that is always validated. The formula is

If ( Remainder Due ; 0 ; "Completed" ) but the problem is I want it to also check a field called actual shipping to make sure it is greater than 0 and if both are true then it should mark the order completed. I know this can be done I'm just not sure how.

Case (

not Remainder Due and actual shipping ;

"Completed"

)

Note that 0 is a number and "Completed" is text. These should not be mixed.

  • Author

But that would only allow me to specify one variable. have two fields. Actual shipping and Remainder due. I want it to look at actual shipping and it the value is greater than 0 and if the value of remainder due is 0 then "Completed"

Have you tried it?

As long as Actual Shipping cannot be less than zero, comment's calc will work. If it can be less than zero, add > 0 to the Actual Shipping test.

The IsEmpty() function is the best way of determining whether a field is empty. Alternatively, "IsEmpty() = 0" or "not IsEmpty()" can be used to test whether a field has data entered.

  • Author

Sorry to have doubted your suggestion. It worked perfectly.

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.