This is whole system that's already built. The search functions need this kind of variable search[account_number] . Otherwise he result does not show up. How can I pass the value?
<div align="center"><br />Search:<br />
<select name="searchby" id="droplist">
<option name="search[company_name]">COMPANY NAME</option>
<option name="search[account_number]">ACCOUNT NUMBER</option>
<option value="all">SHOW ALL</option>
</select>
<br/ ><br />For:<br><input type="text" name="" class="submit" size="16">
<br></span><br /><?php echo create_link("Search","submit"); ?> <?php echo create_link("Reset","reset",$module->link()); ?>
</div>
Can I use javascript to pass the selected dropdown value.
The logic is this, if COMPANY NAME selected the it will search only on the company table. Thanks in advance