close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Improve current search capability

Thread began 1/02/2013 11:15 am by FrankJay | Last modified 1/07/2013 3:44 pm by FrankJay | 744 views | 7 replies

Jason ByrnesWebAssist

create 3 recordsets:


rsBrands:
SELECT id, name FROM kpc_brand

rsCategories:
SELECT catID, brandID, catName FROM kpc_category

rsSubCategories:
SELECT subCatID, parentBrandID, subCatName FROM

set the Brands select list to be dynamic, and to use the id column for the value, and the name column for the label.

in the server behaviors panel, click the plus button, and select WebAssist -> Dynamic Drop Downs -> Create Dynamic Array.

for the recordset, selct rsCategories. Set the parent ID to the brandID column, the Child ID to the catID column and the Child Name to the catName column.

repeat this again, this time select the rsSubCategories recordset. set the parent ID to the parentBrandID column, child id to the subCatID column and child name to the subCatName column.


in design view, select the brand list. In the behaviors panel (note: not server behaviors) click the plus button and select WebAssist -> WA Dynamic Dropdowns -> Populate list from array. Select the rsCategories array. for the parent list, selct the brands list, and the child list, select the categories list.

repeat this step and this time use the rsSubCategories array, and set the child list to the sub categories select list.


NOTE: your original search page passed the brand, category and subcategory names. this new search page will p[ass the ID's instead. Your results page will need to be changed to make use of the ID values instead of relying on the names.

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