Skip to main content

Auto-complete the form with the email data of my participants

Elsa Fernandes avatar
Written by Elsa Fernandes
Updated over a year ago

When you want to set up autofill on your game, first you have to activate the "autocreate" option available in the legal tab of your operation. This option is only functional if you set up autofill. Therefore, the automatic passage of the form will be effective, if all the fields are pre-filled.

In fact, you can check that the data is present during pre-filling. In other words, if you enable this feature, the form may be displayed if required information is not provided.

In a second time, integrate parameters of your form in the url of your game to auto-complete the information of the form when sending an email.

Pre-fill the fields

To add parameters in a url you must take the url kx1.co/contest-XXXX and write just behind ?attribut=valeur_de_l_attribut.

For pre-filling, the syntax is as follows:

https://kx1.co/contest-MalvivL?form_auto_fill[email]=variable_de_l_email

When you want to add more than one attribute you must place an "&" between the attributes, as follows:

Other parameters:

You can act on all these parameters in the URL :

form_auto_fill[email]=monemail : pre-fills the indicated field with the chosen variable

form_auto_create=1 : automatically passes the form, attention it must be pre-filled otherwise you will have no information saved.

auto_scroll=1 : Activate the automatic scroll

auto_scroll_only_mobile=1 : Active le scroll automatique uniquement sur mobile

loader_color=black : Change the color of the loader (can receive hexadecimal)

force_mobile_render=1 : Force mobile rendering.

Example with Mailchimp sending:

The link above the parameters can be replaced by your site.


Did this answer your question?