Results 1 to 2 of 2

Thread: Create custom field select box to search for "more than" values

  1. #1
    Thread Starter
    petfive's Avatar
    Join Date
    Jun 2013
    Location
    London, UK
    Posts
    95
    Thanks
    3
    Thanked 12 Times in 11 Posts

    Create custom field select box to search for "more than" values

    for example i have a custom field called bedrooms (cp_bedrooms)

    i can create the select box like so :


    <select>
    <option value="1" selected="selected">1 bed+</option>
    <option value="2">2 beds+</option>
    <option value="3">3 beds+</option>
    </select>

    but how can i link it so the results will show at least the selected value and others with higher value.....
    so if a user searches for 2 beds+ it will show all ads with 2 bedrooms and above


    i will be implementing the select box into my own custom search form

    thanks.

  2. #2
    quibby's Avatar
    Join Date
    Nov 2014
    Posts
    123
    Thanks
    28
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: March 9th, 2013, 05:25 AM
  2. Replies: 5
    Last Post: March 9th, 2013, 05:25 AM
  3. How to add "Custom Field" at "Job meta" in wordpress admin?
    By rustysolton in forum JobRoller General Discussion
    Replies: 0
    Last Post: January 3rd, 2013, 06:09 AM
  4. Samcy How can I change "-- select --" on my custom field which is a dropdownlist
    By studentcentrum in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: December 9th, 2012, 09:50 AM