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.

Sort with multiple fields??

Featured Replies

Have the following form and results of this search are displayed on another page:

<FORM ACTION="FMPro" METHOD="POST">

<INPUT TYPE="hidden" NAME="-db" VALUE="TASKLOG.fp5">

<INPUT TYPE="hidden" NAME="-format" VALUE="openresults.htm">

<INPUT TYPE="hidden" NAME="-SortField" VALUE="Date In">

<INPUT TYPE="hidden" NAME="-SortOrder" VALUE="Descending">

<INPUT TYPE="hidden" NAME="-Max" VALUE="all">

<INPUT TYPE="hidden" NAME="-token" VALUE="[FMP-CurrentToken]">

<INPUT TYPE="hidden" NAME="-token.1" VALUE="[FMP-CurrentToken:1]">

Currently the results are sorted by 'Date In' but I would like them to be sorted by 'Time In' as well.

I have tried adding <INPUT TYPE="hidden" NAME="-SortField" VALUE="Time In"> to the form as well, but it only displays the results in 'Time In' order and ignores the 'Date In'.

Does anyone know how to sort by two fields please?

Many thanks

You should be able to do that simply addding the sort field/order after the first one:

INPUT TYPE="hidden" NAME="-SortField" VALUE="Date In">

<INPUT TYPE="hidden" NAME="-SortOrder" VALUE="Descending">

INPUT TYPE="hidden" NAME="-SortField" VALUE="Time In">

<INPUT TYPE="hidden" NAME="-SortOrder" VALUE="Descending">

Records should be sorted according to the chosen sequence of fields/orders

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.