Jump to content

The parameter does not pass to the input after sending form using htmx


Clarity
 Share

Recommended Posts

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?
Link to comment
Share on other sites

  • Clarity changed the title to The parameter does not pass to the input after sending form using htmx
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...