Problem with Search in Products
Posted: Wed Aug 07, 2013 6:05 am
I'm using Checkbox in my Search Form:
But if checkbox is checked, a mistake appears:
But sometimes this mistake doesn't appear and checkbox doesn't impact on the result of searching. What's wrong? Is using of checkbox supported by Search function of Products???
Code: Select all
{if isset($searchprops)}
{foreach from=$searchprops key='fldname' item='obj'}
<div class="row_search">
<label for="{$actionid}_{$fldname}">{$obj->prompt}:</label>
{if $obj->type == 'text'}
<input type="text" name="{$actionid}cd_prodvalue[{$fldname}]" size="40" maxlength="40"/>
{else if $obj->type == 'dropdown'}
<select name="{$actionid}cd_prodvalue[{$fldname}]" id="{$actionid}_{$fldname}">
{html_options options=$obj->options}
</select>
{else if $obj->type == 'checkbox'}
<input type="checkbox" name="{$actionid}cd_prodvalue[{$fldname}]" id="{$actionid}_{$fldname}" />
{/if}
</div>
{/foreach}
{/if}Code: Select all
Warning: rawurlencode() expects parameter 1 to be string, array given in /home/hiphop/public_html/temp_sites/manego/lib/classes/module_support/modform.inc.php on line 869
Warning: rawurlencode() expects parameter 1 to be string, array given in /home/hiphop/public_html/temp_sites/manego/lib/classes/module_support/modform.inc.php on line 869