[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.3

Change order of URL string from search form

Asked by dialektkid in Hypertext Markup Language (HTML)

Tags: html form, output, search form

Hello

I have a search form that works except for one issue.

The text input comes last and thus does not work in the url string. I need to position the output at the beginning while keeping the actually text field at the bottom. How can the output be reordered while keeping the order of the form elements the same?

So this is the URL as it is now
http://events.pbpulse.com/search?swhat=&swhere=West+Palm+Beach%2C+FL&srad=8&price=&srad=75.0&st=restaurant&search=true&svt=text&swhat=bimini&x=21&y=15

And this is the way the URL needs to be
http://events.pbpulse.com/search?&swhat=bimini&swhat=&swhere=West+Palm+Beach%2C+FL&srad=8&price=&srad=75.0&st=restaurant&search=true&
svt=text&x=21&y=15

Notice that the populated swhat variable must go first - swhat=bimini
 
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:
<div>
    <h1>Find a Restaurant</h1>
		<h2>Make selections and hit 'Search'</h2>
	<form name="search_events_form" method="get" action="http://events.pbpulse.com/search">
		
        
	
        <div>
		<select class="comboBoxRest" name="swhat">
			<option value="">Cuisine Type</option>
 
			<option value="American">American</option> <option value="Asian">Asian</option> <option value="Bar Foods">Bar Foods</option> <option value="Bbq">Bbq</option> <option value="Brazilian">Brazilian</option> <option value="Buffet">Buffet</option> <option value="Burgers / Sandwiches">Burgers / Sandwiches</option> <option value="Cafe">Cafe</option> <option value="Cajun / Creole">Cajun / Creole</option> <option value="California / Pacific Rim">California / Pacific Rim</option> <option value="Caribbbean / Latin American">Caribbbean / Latin American</option> <option value="Chinese">Chinese</option> <option value="Continental">Continental</option> <option value="Deli">Deli</option> <option value="Diner">Diner</option> <option value="Eastern European / Russian">Eastern European / Russian</option> <option value="Ethiopian">Ethiopian</option> <option value="Family">Family</option> <option value="French">French</option> <option value="German">German</option> <option value="Greek / Mediterranean">Greek / Mediterranean</option> <option value="Indian">Indian</option> <option value="Irish / English">Irish / English</option> <option value="Italian">Italian</option> <option value="Japanese">Japanese</option> <option value="Korean">Korean</option> <option value="Kosher">Kosher</option> <option value="Mexican / Southwestern">Mexican / Southwestern</option> <option value="Middle Eastern">Middle Eastern</option> <option value="Nepali">Nepali</option> <option value="Pizza">Pizza</option> <option value="Polish">Polish</option> <option value="Seafood">Seafood</option> <option value="Southern &amp; Soul">Soul Food</option> <option value="Spanish">Spanish</option> <option value="Steak">Steak</option> <option value="Sushi">Sushi</option> <option value="Takeout">Takeout</option> <option value="Thai">Thai</option> <option value="Vegetarian">Vegetarian</option> <option value="Vietnamese">Vietnamese</option> 
		</select>
 
		<select class="comboBoxRest" name="swhere">
			<option value="West Palm Beach, FL">Location</option>
 
			<option value="" disabled="disabled">---------------</option>
			<option value="Palm Beach County, FL">Palm Beach County</option>
			<option value="Treasure Coast County, FL">Treasure Coast County</option>
			<option value="Broward County, FL">Broward County</option>
			<option value="Dade County, FL">Dade County</option>
			
		
			<option value="" disabled="disabled">---------------</option>
			<option value="West Palm Beach, FL">Downtown West Palm</option>
		
			<option value="" disabled="disabled">---------------</option>
			<option value="Boca Raton, FL">Boca Raton</option>
			<option value="Coral Springs, FL">Coral Springs</option>
			<option value="Dania, FL">Dania</option>
			<option value="Davie, FL">Davie</option>
			<option value="Delray Beach, FL">Delray Beach</option>
			<option value="Fort Lauderdale, FL">Fort Lauderdale</option>
			<option value="Ft Lauderdale, FL">Ft Lauderdale</option>
			<option value="Hollywood, FL">Hollywood</option>
			<option value="Jensen Beach, FL">Jensen Beach</option>
			<option value="Jupiter, FL">Jupiter</option>
			<option value="Lake Park, FL">Lake Park</option>
			<option value="Lake Worth, FL">Lake Worth</option>
			<option value="Lauderhill, FL">Lauderdhill</option>
			<option value="Ocean Ridge, FL">Ocean Ridge</option>
			<option value="Palm Beach, FL">Palm Beach</option>
			<option value="Palm Beach Gardens, FL">Palm Beach Gardens</option>
			<option value="Parkland, FL">Parkland</option>
			<option value="Pembroke Pines, FL">Pembroke Pines</option>
			<option value="Plantation, FL">Plantation</option>
			<option value="Pompano Beach, FL">Pompano Beach</option>
			<option value="Port St. Lucie, FL">Port St. Lucie</option>
			<option value="Port St Lucie">Port St Lucie</option>
			<option value="Stuart, FL">Stuart/option>
			<option value="Sunrise, FL">Sunrise</option>
			<option value="Wellington, FL">Wellington</option>
			<option value="West Palm Beach, FL">West Palm Beach</option>
			<option value="Weston, FL">Weston</option>
 
		</select>
        
		<select class="comboBoxRest" name="swhat">
			<option value="">Spec. Features</option>
			<option value="Brewpub">Brewpub</option>
			<option value="business+atmosphere">Business Crowd</option>
			<option value="Family+Dining">Family Dining</option>
			<option value="Noteworthy+Wine+List">Noteworthy Wine List</option>
 
			<option value="Romantic">Romantic</option>
			<option value="Outstanding+Bargains">Outstanding Bargains</option>
			<option value="Unusual+Eats">Unusual Eats</option>
			<option value="Takeout">Takeout</option>
		</select>
		<select class="comboBoxRest" name="srad">
			<option value="8">Distance</option>
 
			<option value="5">5 miles</option>
			<option value="10">10 miles</option>
			<option value="15">15 miles</option>
			<option value="20">20 miles</option>
		</select>
        <select class="comboBoxRest" name="price">
			<option value="">Price</option>
 
			<option value="1">$0$14</option>
			<option value="2">$15$30</option>
			<option value="3">$31$50</option>
			<option value="4">$50 and over</option>
            
		</select>
			<p> </p>
 
		</div>
		<div>
		
		</div>
		
        
        <input type="hidden" value="75.0" name="srad"/>
        <input type="hidden" value="restaurant" name="st"/>
		<input type="hidden" value="true" name="search"/>
		<input type="hidden" value="text" name="svt"/>
		<h2>Specific search terms:</h2>
		<input type="text" class="formInput" value="" name="swhat"/>
		<input type="submit" class="submitBtn" value="Search"/>
        
       
     
		
	</form>
	</div><!-- contentblock -->
[+][-]07/31/09 11:11 AM, ID: 24991083Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Hypertext Markup Language (HTML)
Tags: html form, output, search form
Sign Up Now!
Solution Provided By: strickdd
Participating Experts: 1
Solution Grade: A
 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625