alec Posted July 2, 2014 Share Posted July 2, 2014 I'm working on one real estate project. Curently I am working with field for price, I was thinking to create int field for price, to display price on every property(i have managed that it is quite easy). But, also I will need a form, where users can choose min and max price. For example: 0 - 1000 1000 - 10 000 10 000 - 50 000 ... What would be the best way to implement values for price in search form? Link to comment Share on other sites More sharing options...
onjegolders Posted July 2, 2014 Share Posted July 2, 2014 Hi Alec, I would imagine that probably the easiest way to go here would be using GET parameters through $input->get https://processwire.com/api/variables/input/ 1 Link to comment Share on other sites More sharing options...
arjen Posted July 2, 2014 Share Posted July 2, 2014 You can find a detailed working example in the Skyscrapers Profile search form. It's a really detailed and well commented profile on how to work with several kinds of filtering. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now