Clarity Posted June 3, 2022 Posted June 3, 2022 Hello everyone! I'm using htmx to send a form to /scan URL, but no "search" parameter is present in "get" in $input variable: <form hx-get="/scan" hx-trigger="submit" hx-target="#result" hx-swap="outerHTML" id="scan-form"> <input type="text" name="search"> <input type="submit"> </form> Can you please tell me where is my mistake?
Ivan Gretsky Posted June 3, 2022 Posted June 3, 2022 You send you request to /scan without the ending slash. ProcessWire by default redirects to a url with an ending slash. And all parameters get lost during the redirect. 2 1
Recommended Posts