close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Repeat search but display results in specified order.

Thread began 2/15/2012 8:01 am by JohnPicton | Last modified 2/16/2012 10:03 am by Jason Byrnes | 607 views | 1 replies |


Repeat search but display results in specified order.

I'm using the Data Assist extension with a search results page and it's working really well. I've a series of drop down menus which make up the search page, and the relevant results are returned just as they should be. Perfect!

However . . .

I would like to be able to offer the web user the opportunity to display the results in an order that they specify. So once the results all appear I would like a drop down with 'Sort by' as a label. They would choose, click submit, and the search would be repeated with the same selections as the original search but the results displayed in the way they specify.

So I'm guessing it's going to be a form with a drop down list with values which submits to the same page, but I'm not sure exactly how to make it submit the original search again.

Can anyone help?

Sign in to reply to this post

Jason ByrnesWebAssist

data assist search stores the original search in a session variable, if the page is reloaded without triggering the search behavior, it will automatically use the search stored in the session.

on the data assist support page, there is a tutorial for "Sorting by column links" in the solution recipes section that can help you get started.

you could use the same principal with a select list of columns instead of column links, just set the forms method to GET instead of POST, and name the select list "sort"

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...