close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Adding a Child Filter to Existing Form

Thread began 12/05/2012 2:51 pm by reiter303441179 | Last modified 12/06/2012 1:50 pm by Jason Byrnes | 694 views | 1 replies |

reiter303441179

Adding a Child Filter to Existing Form

I'm trying to add a child filter to an existing filter on a products page. I've followed the how to for dynamic drop downs without success. I've even deleted the current filter and started from scratch using the how to with a result of a blank page even with error reporting on. Below is the code pertinent to the current filter which I would like to be the parent. I would like to have a child filter underneath this one that's populated with "models" based off of the "manufacturers" in the parent filter. And have the models change based off of a certain "manufacturer" if a manufacturer is selected in the parent. The "models" for the child filter come from the same table as the products. I have to mention there is also an url parameter associated with this page. This parameter passes along the category to be viewed. Any help would be greatly appreciated. I've attached a zip of the page if that helps since my question above may be convoluted.

<div id="search_filter">
<div id="filter">Filter By Manufacturer</div>
<div id="manufacturers">
<table width="200" border="0" cellpadding="0" cellspacing="0" class="forms">
<tr>
<td width="200"><form method="post" name="filterform" action="<?php echo($_SERVER['PHP_SELF']); ?><?php echo((isset($_GET['Category']))?"?Category=".$_GET['Category']:""); ?>">
<input name="WADbSearch1" type="hidden" value="search">
<select name="ProductManufacturerID" class="input-med" id="ProductManufacturerID" onChange="document.filterform.submit();">
<option value="">Non-Selected</option>
<?php
do {
?>
<option value="<?php echo $row_WADAProductManufacturerID['ManufacturerID']?>"><?php echo $row_WADAProductManufacturerID['ManufacturerName']?></option>
<?php
} while ($row_WADAProductManufacturerID = mysql_fetch_assoc($WADAProductManufacturerID));
$rows = mysql_num_rows($WADAProductManufacturerID);
if($rows > 0) {
mysql_data_seek($WADAProductManufacturerID, 0);
$row_WADAProductManufacturerID = mysql_fetch_assoc($WADAProductManufacturerID);
}
?>
</select>
</form></td>
</tr>
</table>
</div>
</div>

Attached Files
category_filters.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

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