Prepopulate form with additional parameters

I would like to be able to pre-populate fields in a form from information passed in a query string.
I have set up the “Additional Parameters” to bring this data in, but I don’t know how to get it into a form element.


Morning Mark,

I built just such a presenter to help you do this.

You can either use this with default settings to prefill an editable text field, or you can hide it using the hidden option, to capture the value without the user being aware.

Hope this helps.

1 Like

Hi Adam,

Thank you. I have uploaded this presenter to my host. I am not sure how to specify the key I want.

There is a small user guide in the documentation area of the presenter in community.


There is a section lower down in setting for you to enter your parameter key, guid in the example shown.


1 Like

Thanks Adam,

Sorry, but this is not the behaviour I am looking for.
I have a url like this:

I want to be able to use that id on my form.
I can display the additional parameter as you can see below, but the presenter is not picking it up.

Hi Mark,

The issue is clearly with the URL redirection, the id is being stripped on redirect.
If you add it to the resolved redirect the presenter works as intended.
Where is the URL you are providing coming from and we can see if we can preserve extraneous URL params.



1 Like

Thanks Adam. That url is on the start page of my form.

I have set up “additional parameters” to capture stuff from the referring url’s query string. How can I access these from the presenter?


I have created the behaviour I need using a Fragment Callback. It’s not ideal as I don’t have the ability to set the parameter key in the interface.

return {
  main: function (myObj) {
    const values = myObj.get_values();

Is there a way I can adapt this so that it has an input on the form build interface to set the key?

Many thanks for your help with this. A member of my team has shown me how to do this using dependencies.