Jump to content

Sorting by multiple fields


This topic is 8358 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I would like to sort by two fields on the web from my FMPro db. Does anyone now how to accomplish this? I know to sort by one field to put <input type="hidden" name="-SortField" value="fieldname">. Now I would like to add a second sort...

Link to comment
Share on other sites

From CDML database:

Specify sort field using a form action

<form action="FMPro" method="post">

<input type="hidden" name="-DB" value="contacts.fp5">

<input type="hidden" name="-Format" value="format.html">

<input type="hidden" name="-SortField" value="Last Name">

<input type="hidden" name="-SortField" value="First Name">

<input type="submit" name="-FindAll" value="Sort by First Name">

</form>

Link to comment
Share on other sites

This topic is 8358 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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