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.

Embarrassingly simple question

Featured Replies

  • Newbies

I’m trying to clear a field every time I run a script. I’m using "set field [field name = 0]" when I do this. However every other time I run the script, it returns a 1. Why is this?

I checked the other areas of my script and I even put together a simple test script. Still, every other run gives me a 1. Any ideas?

The Set Field[] step has two distinct options:

- target field (which field to set)

- calculated result (what value to set the field to)

Select the step and look at the bottom of the Edit Script window to see those options.

It seems you are setting your field to the calculated result of:

Yourfield = 0

This is a valid expression that evaluates either as true (1) or false (0). The first time you run your script, there is some value in the field, so the expression returns false, and the field is set to 0. The next run, the expression is true, so the field is set to 1. Each succesive run toggles between 0 and 1.

To really clear the field, make the calculated result just plain 0 or "".

  • Author
  • Newbies

Thanks!!!

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.