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.

Featured Replies

  • Newbies
Total newbie questions about a simple PHP search using addFindCriterion to match checkbox value.
 
I have 3 checkboxes in a field called "myChoices_field" containing the following choices - where "airport" is selected.
 
[ ] air
[x] airport
[ ] air vent
 
So that means that "myChoices_fld" contains only the value "airport".
 
If I do a search via PHP looking for a record that matches only the choice "air" - this is what I would use:
 
$findCommand->addFindCriterion('myChoices_field', "air");
 
I should expect it NOT to match anything since "air" does not equal to "airport". However - I'm getting back the record that matches "airport". Clearly - it's just doing a substring match.
 
How can I search a checked value that actually just searches the whole checked value - not do a substring search? I'm I completely missing where to find this in the documentation?
 
Pointing me to the documentation would help greatly. Thanks!

All finds by default use the same search methodology as FileMaker does - a 'begins with' search... So from the above, Airport, Airplane, Airgel will all match...

 

If you use an exact match search ( ==Air ) then you will get no results.

 

However, you will also get no results for ==Airport *if* anything else is checked in the value list...

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.