Find trending topics and quick answers here

Hi, how can we help?

There no matching results.

How can I enhance form embedding with URL parameters

Question

Can I embed the form on my website using the embed code and also use a URL Value? How can I integrate this into the code?


Answer

Yes, you can. You can achieve this by adding parameters to the URL of the web page where you’ve embedded our form. Adding URL parameters means that you can pass information from the website’s URL to the form. This could be useful for pre-filling certain fields in the form or customizing the form’s behavior based on the URL parameters.

What are the URL parameters I can use?

These URL parameters are the initial values, for example, Today’s Date, so today’s date is shown automatically. When respondents open the form, the field already has the current date filled in, making the form filling process quick and easy. See the available initial values here.

After you’ve published a form, you’ll get a Public URL, Embed Script, and QRCode.

Share your form

When you use the Public URL, suppose the URL is “https://form.platoforms.com/fr1213erw", you only need to add the URL parameter behind it. For example, “https://form.platoforms.com/fr1213erw?name=smith".

If you switch to Embed Script, you will get a piece of code for your website that displays your form directly on your page.

Embed Script

For Embed Script, you don’t need to deal with the complex script. These parameters will be processed by our embed script and passed to the form input. Just add the URL parameter after your web page URL. For example, suppose your web page URL is: https://form.selectist.com, then the URL with parameter is: https://form.selectist.com?name=smith.

In this example, the ?name=smith parameter has been added to the URL. When someone accesses this URL, the value smith will be passed to the form input. This way, you can combine the use of the embed code with URL parameters to enhance the functionality of your embedded form.


Have more questions? Visit our FAQs page or contact us.