I basically have a calculator on my website, where you can calculate the price. The price is then being shown in a form text field.
Now they can click a Button that takes them to a URL like this:
I want to add the price info from the form and put it at the end of the URL, so that the link looks like this:
How can I achieve this?
Here is my site Read-Only: LINK
(how to share your site Read-Only link)
Assuming that the text field is inside of the form you want to submit;
- Set the form method to GET
- Set the form action to
- Set the input field name to
When you submit the form, the browser will automatically querystring-encode your data and submit it to the URL you specify.