Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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.

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,924
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    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.

  • #3
    New to the CF scene
    Join Date
    Aug 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    [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


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •