Use an action for a form but stay on the same page?
I am calling an action after submitting a form. I am navigated to
https://action/1500021613?username=
and then the page fails to load.
I want the page to stay where it is after I submit. Thanks!3 Replies
You either need the page that controls the action to go back to the previous page or to send the form through JS (or both).
Maybe you forgot to set the form method to
post
:Worry_Think:Even if you post a request, the site usually changes to the URL in the action, showing the reply of a POST response.