Form Submission - Just Go To Action Value
Hello -
My apologies, I'm a very old school coder, and I'm using Metronic for the first time (any modern template actually). I have a question about form submission.
Currently, when I submit a form, it ignores form action and instead uses script to pass the value of name and value in the URL
Example:
website.com/index.html?name=value
What is the way to pass the page URL without having it add either the = in the URL or pass the variables in the URL. I would like them picked up as form variables on the loading page.
for example, I would like it to go to the page:
website.com/index.html?this.page
Sorry if my question isn't clear. I'm quite old school and learning new tricks.
Thank you.
Replies (3)
Hi,
You just need to add method="post"
to the form tag to pass the form parameters, not via the URL.
For more info please check the form docs.
Regards.
Your Support Matters!
My brain was completely dead - I appreciate you answering what would appear to be such a simple question. Thank you for the clear and direct response. Arrrgh. That was a night I needed way way more sleep. Thank you.
No problem at all. Always glad to help, All the best with your projects