I have a form like this:
<form action="http://localhost/test">
<input type="text" name="keywords">
<input type="submit" value="Search">
</form>
If I type a value, for example: "hello" into the text field and submit the form, URL-address is as follows: http://localhost/test/?keywords=hello.
I want the value to be added to the action path. So basically after submitting the form the URL should look like this:
http://localhost/test/hello
source
share