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

Hey there,

My solution contains records of different categories: The Category field can hold e.g. "Library item", "Periodical", "Internal Knowhow" and many more. (A record has one category only.)

The Find screen that is being offered through a PHP solution contains a field where users can search the Category field using two checkboxes: When they tick "Library item", they find library items; when they tick "Periodical", the find periodicals; and when they check both, they find records of both categories.

My problem now is, if a user does not check any of the checkboxes he finds all the records that belong to other categories. But what I have in mind is that if the user does not choose between "Library item" or "Periodical" he does not receive any results at all (as the mentioned two categories are the only ones he is entitled to view).

Is there a way to implement this for a user like me who does not have too much knowledge of PHP?

Thanks for your input,

Michael

  • 3 weeks later...

Not sure if you ever figured this one out or not...

Before performing your find, test the checkbox's value with something like this...

if( $POST['checkbox1']=='' and $POST['checkbox2']=='' ) {

//don't perform find

}

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.