Answer the question
In order to leave comments, you need to log in
How to pass data from input to modx code?
How to pass a value from a form and do I need to create a submit button for this, or is it enough just to enter a number
<div>
<div>
<label>от</label>
<input id="area_from" name="area_from" type="text">
</div>
<div>
<label>до</label>
<input id="area_to" name="area_to" type="text">
</div>
</div>
Answer the question
In order to leave comments, you need to log in
You have several options:
1) Use Fenom, it can work with GET parameters, write the desired call
2) More old-school - write a snippet that processes the GET variable and passes it to pdoResources, google it, there are a lot of solutions. Well, or now I've already found you:
one
two
three
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question