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.

Can you run a script from a calculation field?

Featured Replies

Probably been asked before, but can a custom script you wrote in ScriptMaker be run automatically if a calculation field or any other type of field becomes a certain value? I would find this very useful for error control. For instance, if someone enters 3 in a field they aren't supposed to enter 3 in I would like it to automatically run a script that pops up a warning box that says "don't enter 3 in this field." Is there any way to get it to do this without having to have the user manually run the error control script after each entry?

The only ways that I can think of are:

- use a third party plugin ( for example 'doscript')

- make sure the user is always 'paused in a loop' and have the errorcheck (or whatever script you want) after the pause script step.

I personally really dislike either method; should be a built-in function.

ernst.

Or Validate by calculation your field using this option in the Define Fields Menu Options.

Or

Depending on your situation, use another calculation that would either display a "text message", a graphic or anything that would "alert" the user.

For example, use a global container in the backgroung and turn the entire screen red using :

- a global repeating container field with Red and your other Backgroud (or nothing).

- a calculation Case(fied value =3, GetRepetition(Container,1),GetRepetition(Container,2))

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.