close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Search function

Thread began 4/10/2015 2:08 pm by russb335115 | Last modified 4/13/2015 12:48 pm by Ray Borduin | 872 views | 8 replies |

russb335115

Search function

I have a search box on my site that populate based on a column in my database. I'm looking to get it to search more than one column to get results. Is that an easy adjustment or do I need premier support?

Sign in to reply to this post

Ray BorduinWebAssist

It should be easy as long as you have Data Bridge... Just use the DataAssist search server behavior and you can multi-select columns to search using the keyword search option.

Sign in to reply to this post

russb335115

To the existing search box or do I need to create a new one?

Sign in to reply to this post

hcummings

You can apply the server behavior from the server behaviors panel on the page that has the results and use the existing search box.

Sign in to reply to this post

russb335115

Thanks did that but I'm still not getting results from the new column.

Sign in to reply to this post

Ray BorduinWebAssist

I'd have to take a look at the page(s) to see what you did wrong.

Sign in to reply to this post

russb335115

See PM

Sign in to reply to this post

Ray BorduinWebAssist

Open up the Data Assist search server behavior on the results page. Remove the SKU and Long Description comparisons. Then edit the Product Name one... Multi-select the three fields using control+click when editing the product name comparison and bind it to the <?php echo(isset($_GET['ProductName'])?$_GET['ProductName']:""); ?> value.

When you apply the search it should only have one row in the search fields, but that field should search across the three columns.

Sign in to reply to this post

russb335115

That did it!

Thanks Ray

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

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