February 19, 200223 yr Hi, I have a list of records which are generated from a search page. I have five columns on the result page: Student Name, Center of Instruction, Date of graduation, Total points, Average Points The records are sorted by Student Name, but I would like to allow the users to sort also by the other column headings, that is, I would like the user to be able to click on the heading to sort by that category. Is this possible with CDML?
February 19, 200223 yr Author Thank you, it's working beautifully. I wonder, would you know if the search order (descending, ascending) could also be changed, that is, if names could be listed in ascending order, and scores in descending order. That would be nice. Thanks again.
February 19, 200223 yr You can use '-sortorder=ascend' or '-sortorder=desend'. Check it out a bit more in the "CDML Reference" database. All the best. Garry
February 20, 200223 yr Yes, you can use the [FMP-Link] tag with a <a> tag for each of the colum headings. The <a> tag could look like this: <a href="[FMP-Link: s]&-sortfield=total%20points&-Find"> Total Points</a> Hope this helps. Garry
Create an account or sign in to comment