Deftform Changelog

Subscribe to updates
© 2024 Deftform Changelog
Jun 01, 2024

Pre-fill fields via url parameter

In case you want to pre-fill certain fields from external sources, starting today, you can make use of our custom field identifiers. This can be useful if you're running a survey or anything and want to pre-fill a customer email address, name or any other value to the form.

Field identifiers visible on supported fields

Let's take the following link as an example: 

https://forms.ivymayhem.io/yJgdHh?zfytq=Ivy&lkjhw=Hamburg

Whenever you create either an input or hidden field, a unique identifier is generated and can be used to target the field. The relevant part starts at the ? symbol. In our example, zfytq is the identifier for the name field and lkjhw is the identifier for the city field.

When you open the url, both of the fields are filled with the value that comes after the = sign.

It's important to keep in mind that only the first parameter must start with a ? and any following parameters have to start with an & sign. That's just how things work, we did not make this up.

If you need help with this, feel free to get in touch via in-product chat.