Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > BlueVoda Website Builder Forums > Forms

Notices

Forms Discussion and help related to designing and implementing forms in the BlueVoda Website Builder.

Reply
 
LinkBack Thread Tools
  #1  
Old 07-15-2008, 03:54 PM
ChevyAdmin's Avatar
Private First Class
 
Join Date: Oct 2007
Posts: 5
Question Drop Down Search Submission

Hello Everyone,

I'm looking for a way to make a search form page on my website that when items are selected from a series of dropdown menus, those values then would be submitted to the sites search engine.

I have a bunch of PDF files on my site and they all contain common information. They're invoices for vehicles, and what I'd like to do is be able to search for specific invoices based on year, make, model, color, etc. and have those options preset in the drop down fields. I've seen where you can add those values in BV, but am not sure how to tie it all together so that each option gets added to the next, then gets submitted to the sites search engine page. The PDF's are currently indexed correctly so that I can type in what I'm looking for and the correct items show up in the results pane, but you have to know what your looking for. If for example I searched for 2008 Chevrolet Cobalt, all of the PDF's will show up that match my search criteria, but you still have to filter through the multiple files for the colors that are available. Instead of hand typing all of the information in each time you needed to look up an invoice, I thought a drop down might be possible. Perhaps with some sort of EXACT Tag that would only pull the PDF's with the search criteria selected.


Here's what I've got so far. I didn't want to get too far ahead of myself if it wasn't possible. Any help would be greatly appreciated.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Untitled Page</title>
<meta name="GENERATOR" content="Created by BlueVoda">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div id="bv_Form1" style="position:absolute;left:68px;top:62px;width: 592px;height:377px;z-index:9" align="left">
<form name="SearchForm" method="POST" action="" enctype="multipart/form-data" id="Form1">
<select name="Year" size="1" id="Combobox1" style="position:absolute;left:67px;top:68px;width: 67px;font-family:Arial;font-size:16px;z-index:0">
<option value="2007">2007</option>
<option value="2008">2008</option>
<option value="2009">2009</option>
<option value="2010">2010</option>
</select>
<div id="bv_Text1" style="position:absolute;left:78px;top:48px;width: 41px;height:16px;z-index:1" align="left">
<font style="font-size:13px" color="#000000" face="Arial"> Year</font></div>
<select name="Make_Select" size="1" id="Combobox2" style="position:absolute;left:145px;top:69px;width :150px;font-family:Arial;font-size:16px;z-index:2">
<option value="Cadillac">Cadillac</option>
<option value="Chevrolet">Chevrolet</option>
<option value="GMC">GMC</option>
<option value="Saturn">Saturn</option>
<option value="Chevrolet Truck">Chevrolet Truck</option>
<option value="Cadillac Truck">Cadillac Truck</option>
</select>
<div id="bv_Text2" style="position:absolute;left:194px;top:48px;width :54px;height:16px;z-index:3" align="left">
<font style="font-size:13px" color="#000000" face="Arial">Make</font></div>
<select name="Model_select" size="1" id="Combobox3" style="position:absolute;left:301px;top:68px;width :150px;font-family:Arial;font-size:16px;z-index:4">
<option value="CTS">CTS</option>
<option value="DTS">DTS</option>
<option value="ESCALADE">ESCALADE</option>
<option value="ESCALADE ESV">ESCALADE ESV</option>
<option value="ESCALADE EXT">ESCALADE EXT</option>
<option value="COBALT">COBALT</option>
<option value="CORVETTE">CORVETTE</option>
<option value="IMPALA">IMPALA</option>
<option value="MALIBU">MALIBU</option>
<option value="AVALANCHE">AVALANCHE</option>
<option value="COLORADO">COLORADO</option>
<option value="EQUINOX">EQUINOX</option>
<option value="EXPRESS CARGO">EXPRESS CARGO</option>
<option value="SILVERADO 1500">SILVERADO 1500</option>
</select>
<div id="bv_Text3" style="position:absolute;left:323px;top:47px;width :54px;height:16px;z-index:5" align="left">
<font style="font-size:13px" color="#000000" face="Arial">Model</font></div>
<input type="submit" id="Button1"" name="Button1" value="Submit" style="position:absolute;left:227px;top:114px;widt h:75px;height:24px;z-index:6">
<div id="bv_Text4" style="position:absolute;left:114px;top:9px;width: 301px;height:27px;z-index:7" align="left">
<font style="font-size:24px" color="#000000" face="Arial">Vehicle Inventory Search</font></div>
<hr size="4" width="536" id="Line1" style="position:absolute;left:39px;top:39px;width: 536px;height:4px;z-index:8">
</form>
</div>
</body>
</html>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 07-15-2008, 11:54 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,357
Default Re: Drop Down Search Submission

It actually depends on your seach engine form but, theoretically, it would be enough to name all the dropdown with the same name, which would be the same name of the search form (the original one) with the addition of a [] at the end of the name. In the receiving page (where the search form submits, you need a small piece of code to combine the values of all dropdowns in one search phrase.

Alternatively: use javascript to combine the values of the dropdowns and use them as value to be submitted by the search form to the search script.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 11:46 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176