+ Reply to Thread
Results 1 to 5 of 5

Thread: How to change the "Price" input fields to a dropdown menu with a fixed pricing range?

  1. #1

    How to change the "Price" input fields to a dropdown menu with a fixed pricing range?

    How to change the "Price" input fields to a dropdown menu where you can select a fixed pricing. (ie: $1,000 - $500,000)
    But this needs to be related to the currency and the Property for (rent or sale) selected by user. The range for Sale shouldn't be the same as the range for Rent.

    If I change this code here FTP > templates > your template > tpl > blocks > field_search.tpl

    PHP Code:
    Only registered members can view the code
    with this one:

    PHP Code:
    Only registered members can view the code
    As Dmitry said here: http://www.flynax.com/forum/showthre...ull=1#post9273

    I will get the dropdown, but the prices wouldn't be related to the "currency" and "Property for" options.

    Any idea?

    Thanks.

  2. #2
    Senior Member
    Join Date
    May 2015
    Posts
    156
    Ivan,

    What do you mean by "wouldn't be related" ?After submitting the form values are not sent?

  3. #3
    Flynax developer John's Avatar
    Join Date
    Oct 2009
    Posts
    606
    Hello Ivan,
    To bind the price field with currency you should also have currency dropdown as it presents by default.
    By applying Dmitry's code you just replace the number inputs with the dropdowns but in general you have initial
    search logic and the form should works properly.

    John

  4. #4
    Senior Member
    Join Date
    May 2015
    Posts
    156
    Works fine for me, needed a bit of css tweaking

  5. #5
    How we can add like if user don't want to put price but want that people can contact him for the price and he can chose option drop down Please Contact option i try to change price field Admin Panel/Listing Fields/price/Edit Field but Field type set price how we can make it drop down so if user don't want to put price he can chose contact me option

+ Reply to Thread