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.

Need some help

Featured Replies

I think this should be a simple script and I am pretty sure that I have done it before but I can't remember how to do this. I have one central database with one field. I have this field formatted as a check box list with three fields available to check. Each field corresponds to a separate database file. In each file I have a script that simply creates a new record. What I want to happen is for the user to check the boxes that they want to create a new record in and then hit a button that is attached to a script. I want this script to check to see what is checked and then fire the external script in the corresponding database. The script that I have in the central database is a series of 3 If statements. They check to see if one of the fields is checked, if so then fire the correct external script. Then there is an end if and then the second If statement. This seems like it should be really simple but I haven't been able to get it to work. Do I need to spell out every possible combination in nested If statements? Or does anyone else have a suggestion as to how I can accomplish this? Thank you for your help!

John

What you describe should work, assuming you've implemented everything correctly.

If (PatternCount(Field, "A"))

Perform Script (External, file A)

End If

If (PatternCount(Field, "B"))

Perform Script (External, file ???

End If

If (PatternCount(Field, "C"))

Perform Script (External, file C)

End If

You have to use PatternCount() to test the field as it won't equal each choice, only contain it along with other choices. Remember, checkbox fields just cause the entry of multiple choices separated by carriage returns.

-bd

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.