All Collections
Set up a campaign
Form: an essential module
How can I pre-fill one or more fields in the Form?
How can I pre-fill one or more fields in the Form?
Simon Dubreucq avatar
Written by Simon Dubreucq
Updated over a week ago

It is possible to pre-fill one or more fields of the Form with data you choose to speed up registration and avoid the loss of users at this stage.

For example, if you have added a custom field in which you expect a sequence of numbers and/or letters, you can decide that the field will be pre-filled with the first numbers and/or letters of your choice.

Example :

My loyalty card is in this format: 12345ENXXXXX where XXXXX are the numbers expected in my custom field.

My "Loyalty card" field is a custom field defined by its ID "custom_1" (if you don't know the ID of your field, you will find it in the corresponding column when exporting user data).

To pre-fill my field, I have to :

  • activate the automatic pre-filling option in the form

The user will then arrive directly on a pre-filled form with the generic beginning of my loyalty card :

Pre-fill a generic Form field

Check the ID of the selected field(s) on the article "game and user variables", section "Form" (remove the prefix "form.") - example: to pre-fill a country, I need to use the URL https://adbx.io/mongrandjeu/?country=England.

Pre-fill several fields at once

By adding "&" between different fill information in the URL, you can pre-fill several fields at once: https://adbx.io/mongrandjeu/?custom_1=12345EN&country=England.

Did this answer your question?