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

IE8 Search Problem

Thread began 1/05/2010 7:38 pm by B Tonkin | Last modified 1/06/2010 10:48 pm by B Tonkin | 3063 views | 8 replies

B Tonkin

Nav Bar vs Search Page

Nav bar form looks like this ...

<form id="searchForm" method="get" action="Products_Results.php" >
<input type="text" name="S_ProductName" id="S_ProductName" />
<input name="Search" type="submit" id="Search" value="Search" alt="Search" />

... and the search page form looks like this ...

<div class="contentBox">
<form action="Products_Results.php" method="get" name="WADASearchForm" id="WADASearchForm" class="WADADataTable">
<fieldset class="insertForm">
<label for="S_ProductName">Keyword:</label>
<input type="text" name="S_ProductName" id="S_ProductName2" value="<?php echo((isset($_GET["S_ProductName"]))?$_GET["S_ProductName"]:"") ?>" size="32" />
<label for="S_ProductPrice">Price Range:</label>

<span id="sprytextfield1">
<input type="text" name="S_ProductPrice" id="S_ProductPrice" value="<?php echo((isset($_GET["S_ProductPrice"]))?$_GET["S_ProductPrice"]:"") ?>" size="10" onblur="if (document.getElementById('priceRangeServerValidation')) document.getElementById('priceRangeServerValidation').style.display='none';" style="width: 114px;" />
</span> -
<span id="sprytextfield2">
<input name="S_ProductPrice2" type="text" id="S_ProductPrice2" onblur="if (document.getElementById('priceRangeServerValidation')) document.getElementById('priceRangeServerValidation').style.display='none';" value="<?php echo((isset($_GET["S_ProductPrice2"]))?$_GET["S_ProductPrice2"]:"") ?>" size="10" style="width: 114px;" />
</span><span id="additionalErrorZone" class="additionalErrorZone"><span class="textfieldRequiredMsg textfieldInvalidFormatMsg textfieldMinCharsMsg textfieldMaxCharsMsg textfieldMinValueMsg textfieldMaxValueMsg">Price range fields can be positive numbers, or left blank.</span></span>
if (ValidatedField("ProductsResults","ProductsResults")) {
if ((strpos((",".ValidatedField("ProductsResults","ProductsResults").","), "," . "1" . ",") !== false || "1" == "") || (strpos((",".ValidatedField("ProductsResults","ProductsResults").","), "," . "2" . ",") !== false || "2" == "")) {
if (!(false)) {
<span class="textfieldServerError" id="priceRangeServerValidation">
Price range fields can be positive numbers, or left blank.
<?php //WAFV_Conditional Products_Results.php ProductsResults(1,2:)
<div class="buttons">
<input name="Search" type="submit" id="Search2" onclick="if (document.getElementById('priceRangeServerValidation')) document.getElementById('priceRangeServerValidation').style.display='none';" value="Search" />
<input type="submit" name="cancel" id="cancel" value="Cancel" onclick="window.location = 'Products_Results.php';" />

... what have I done wrong?

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