Jump 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.

Doing a find with checkbox fields

Featured Replies

Hi,

The interface I've created for to search records includes three checkbox fields, each with several options, i.e. "red," "blue"... "large," "small," etc.

When I select multiple options, I'd like the result to behave in an "or" fashion, rather than "and" -- what I mean is, if I check red and blue, I want all records returned that are red AND all records returned that are blue, not only the records that are both red and blue.

The way I've been doing this is to explode the find into several find records, distributing the checkboxes among the different find records. It's tedious to maintain if I want to change things, and now I am adding another checkbox to the search which will raise the search to a potential of something like 150 different requests.

Is there an easier way?

Andrew

I don't think if there is any option other than requesting multiple finds. However, you can make your script generic so that you don't have to worry everytime, you add a new check box.

Therefore, total 4 scripts would be needed to keep track of four fields. You may need a global count field to iterate a loop in each script to repeat the find request for each value checked.

The attachment I posted here may be modified for your purposes.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

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.