Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-09-2012, 10:38 AM   PM User | #1
Omerian
New to the CF scene

 
Join Date: Aug 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Omerian is an unknown quantity at this point
Advanced Search Form for Blogger

I am not sure if it is possible or not to make it. I have a blog in blogger and it is mostly about real estate. I searched a lot for this before but could not find in anywhere. What i want to do is put a search form with multiple criteria such as (bed number, location, price range). In word press there are plugins for this but not free i guess. On blogger there are no such things i guess. I checked some search boxes on blogger and seen only it searchs by query (i think it searchs entire blog by words into posts but not title) and by labels (tags) which you stick on posts. And it searchs only 1 at time. What i want to do is. 3 input at least. Bed, location, price and search those 3 by submit button and inputs can be pre selected options. I made something for it but i dont know how to put in here. I think it can be possible with some coding.
Omerian is offline   Reply With Quote
Old 08-09-2012, 11:18 AM   PM User | #2
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,037
Thanks: 197
Thanked 2,411 Times in 2,389 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
This forum is not a free coding service. As a general rule, the people helping out in this forum don't write code for others, but try to help with fixing code that doesn't work. You may perhaps get someone to write this script for you, but you'll be far more likely to get help if you have made a substantial effort and written some code yourself. Then someone here will almost certainly help you correct/improve your work.


It is your responsibility to die() if necessary….. - PHP Manual
__________________

All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
Philip M is offline   Reply With Quote
Old 08-09-2012, 12:01 PM   PM User | #3
Omerian
New to the CF scene

 
Join Date: Aug 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Omerian is an unknown quantity at this point
[code]<form id="searchThis" action="/search" style="display:inline;" method="get">Location<br/>

<input id="searchBox1" name="label" size="20" type="text"
onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;"/><br/>Price<br/>

<input id="searchBox2" name="label" size="20" type="text"
onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;"/><br/>Beds<br/>



<input id="searchBox" name="label" size="20" type="text"
onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;"/>

<input id="searchButton" value="Go" type="submit"/>
</form> [code]

Ok This is what i have done before so far but as i mention on top it does not work because i am not an expert about coding. What i did is i took googles regular search box and i put some more inputs and button. I seen it still given results only one input. Plus i do not know how to put inputs options.

I just started this about 6 months 9 months ago and it forces me to study coding
Omerian is offline   Reply With Quote
Reply

Bookmarks

Tags
blogger, property, search

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 11:53 AM.


Advertisement
Log in to turn off these ads.