Adding data to a form - advanced usage

There are times when you want to use data from infoodle or another system to pre-populate a form for someone to complete, an unsubscribe would be an example. We've enabled a few ways of doing this depending on what you need.

The fields you see on the form are numbered starting with 1. So the first field on the form is referred to by f1, the second f2 etc. Make sure that it is a lowercase f and not uppercase as it is case sensitive.

1. You can add more than one form per web page

2. Add just the field numbers you need - and in any order
e.g. if you only want the 3rd field, then add f3=xyz to the URL, you dont need f1=&f2=&f3=xyz

if you want field 2 and 6 then f6=welcome& will work as will f1=welcome&

3. Check boxes are honoured
Use 1 as the value e.g. f5=1 and this will tick that box

4. Radio buttons are honoured
You need to know the 'value' parameter of the specific radio button you want e.g. f5=24, and that will get checked

5. Add personalisations to the form URL
e.g. if you want the the 1st field to populate with the Firstname and the 2nd field to populate with Lastname then add &f1={first_name}&f2={last_name} to the end of the publish URL like this:{first_name}&f2={last_name}

6. Add parameters to the embed code
If its helpful, you can add parameters to the embed code itself with the 'data' attribute e.g.

<script data-width="" src= "" data-form="f233d86f-14c6-4a68-acc3-0ab246487e8a" data=""></script>

7. Add parameters to the URL
If its helpful you can add the parameters to the page URL. Note you have to identify which of the potentially multiple forms on this page, the first one is index 0, e.g.

This will change the first embedded form on the page[0]="f6=11&f3=1&f1=HI"


This will change the second embedded form on the page[1]="f6=11&f3=1&f1=HI

Note: Remember when adding onto your URL you have a limit of 2048 characters.