close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Search/Results pages

Thread began 6/19/2013 12:13 pm by Robert | Last modified 2/03/2014 1:34 pm by Jason Byrnes | 1434 views | 19 replies |

Robert

Search/Results pages

I have 2 pages.
Search page with single dropdown menu searching Categories, and a Result page that displays Special offers within that category. My result page either shows all records or none. In Data assist search, under Default WHERE clause I played with 0=0 or 0=1 and these are the results I get. Am I missing something?

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of your pages please and a link where I can see the problem.

Sign in to reply to this post

Robert

Here is the link to the page.
http://www.palmbeachgrapevinedirectory.com/SOcatONLY.php
Enclosed are the files

Attached Files
Results4SpecialOcatONLY.php
SOcatONLY.php
Sign in to reply to this post

Jason ByrnesWebAssist

the trigger for the data assist search behavior is set to use any form post, but the search form uses the get method.

on the bindings panel, click the plus button and select URL Variable. name the new URL binding "WADbSearch1"


In the Data Assist Search behavior, click the lightning bolt next to trigger and select the WADbSearch1 URL variable.

Sign in to reply to this post

Robert

Thank you!!! It worked!

Sign in to reply to this post

pistartech366237

Hi Jason,

I've followed the recommendation of this thread, however, I have a problem - I have a Search page that searches by 3 different criteria. When I search by the price or keyword - the search works fine, however, when I search by the Service Name (using one or two words) - it returns all results in database.

I've tried different combinations of the DataAssist Search behavior (AND, OR, Value, Edit, Keyword), nothing solves the problem.

Please find the attached search and results pages.

Please advise.

Thank you so much in advance.

Best regards.

P.S. Also, please see the PM for the link to these pages.

Attached Files
products_results.php
products_search.php
Sign in to reply to this post

Jason ByrnesWebAssist

[/quote]however, when I search by the Service Name (using one or two words) - it returns all results in database.[/quote]

I'm not able to reproduce this, i entered:
test

in the Service Name field and no results where returned.

Sign in to reply to this post

pistartech366237

Dear Jason,

Thank you so much for your reply.

If you will enter "CADx" (no quotes) into the Title field on the search page, all products will be shown even though the word "CADx" is present only in the first two products.

Thank you.

Sign in to reply to this post

Jason ByrnesWebAssist

still not able to reproduce.

I entered CADx in the keywords text filed, and that directed me to the following URL;

http://www.telebirads.com/products_results.php?ProductName=&ProductPrice=&ProductMetaKeywords=CADx&Search=Search


with no results.

Sign in to reply to this post

pistartech366237

Please enter the CADx into the first field (Title)...

Because if you enter "350" into the "Price Field" or "teleradiology" into the Keywords field - it finds the correct services....

But nevertheless, it should show two products in the results and not the "no results"...

Any idea why?

Thank you so much

Sign in to reply to this post
loading

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

Content

rating

Layout

rating

Ease of use

rating

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...