Create custom Button URL from form input?

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:

https://www.company.com/form

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:

https://www.company.com/form?price=1.000%2C00%20€

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 https://www.company.com/form
  • Set the input field name to price

When you submit the form, the browser will automatically querystring-encode your data and submit it to the URL you specify.

1 Like