You send someone a form and answers come back wrong, late or not at all, because the form opened blank and asked for things you already knew: their name, their order number, the plan they picked. A prefilled form link fixes that by carrying the answers inside the URL itself, so the form opens with those fields already filled and the person only checks and submits.

There is one honest condition, stated up front: a prefilled link works only where the form service reads values from the URL's parameters, and the parameter names belong to that service's scheme. The Query String Builder on Ovatly handles the other half, the exact assembly, and this guide walks through both halves and the test that proves the link worked.

Contents

  • Quick answer
  • What a prefilled form link is made of
  • The names belong to the form, not the builder
  • How to build a prefilled form link, step by step
  • Worked example: the assembly, demonstrated on a search URL
  • Why encoding stays on
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion
  • References

Quick answer

Take the form's own URL as the base. Add one row per field in the Query String Builder: the form service's parameter name on the left, the value you want prefilled on the right. Leave encoding on, copy the finished URL, then open it yourself. If the fields show your values, the link works. If it opens blank, the service does not read values from the URL, and no differently built link will change that.

The moving part is the query string: the part of a URL after the question mark, made of name=value pairs joined by ampersands. Query strings carry search terms, page numbers, tracking codes and similar data. A prefilled form link uses the same mechanism differently: each pair names one field and gives the value that field should open with.

Nothing about the form itself changes: the link is the form's normal address with a query string attached, and everything depends on whether the receiving side reads those pairs and matches each name to a field.

The names belong to the form, not the builder

The builder assembles URLs from a table of names and values. It does not know any form service's parameter names, and it cannot invent them, because the service decides which name fills which field.

So the names you type come from the form service, wherever that service states them. The builder's contribution is accuracy, not knowledge: it places each name and value correctly, with the question mark, equals signs and ampersands in the right places, instead of you typing them by hand and mistyping one.

This is also why a wrong name fails quietly. If a name does not match the service's scheme, the form has no field to put that value in, and the pair is ignored. The link looks right and the field stays empty. The test below exists to catch exactly that.

  1. Open the Query String Builder and enter the form's URL as the base. Parameters it already has are kept.
  2. Add one row per field you want prefilled: the service's parameter name on the left, the value to prefill on the right.
  3. Leave encoding on. With encoding on, spaces become + and characters like & and # are escaped, so each value arrives intact.
  4. Copy the finished URL from the result box.
  5. Open the copied link yourself and look at the form. The targeted fields should show your values. That open is the verification; a link you have not opened is a link you are guessing about.

Worked example: the assembly, demonstrated on a search URL

The builder's own worked example uses a search URL, and it demonstrates the assembly exactly: a form reads its link the same way a search page reads its own.

Base: https://example.com/search. Rows: q = red shoes and page = 2. Result:

https://example.com/search?q=red+shoes&page=2

Read it piece by piece: the base stays untouched. The question mark opens the query string. Each row becomes one name=value pair, the pairs are joined by an ampersand, and the space in red shoes became a + because encoding was on.

A prefilled form link is built identically: the base is the form's URL instead of a search page, each row is one field instead of a search term, and the finished URL carries each value behind its field's name, waiting for the form to read it.

Why encoding stays on

Encoding is what keeps a value in one piece during the trip. With encoding on, spaces become + and characters like & and # are escaped, which is the standard behavior for query strings. Form values are exactly the kind of text that needs this: names have spaces, and values contain ampersands.

With encoding off, values go in exactly as typed. For a prefilled link that is a trap: the ampersand is the separator between pairs, so an unescaped one inside a value is read as the start of a new pair, and the value arrives cut in two. Leave encoding on unless you have a specific reason to place values exactly as typed.

One more row rule matters here. A parameter can have an empty value: give the row a name and leave the value blank, and the URL gets name= with nothing after the equals sign. A row with a value but no name is rejected, because it cannot be represented.

Limitations and honest tradeoffs

The builder cannot make a form accept prefilled values. If the service does not read URL parameters, the finished link opens the same blank form as the plain address, a property of the service, not a defect in the link.

No specific form service is promised to support prefilling anywhere in this guide, deliberately: support and names are each service's own scheme, they differ between services, and the only reliable statement about a particular form is the test, build the link, open it, and see the fields filled.

Finally, a prefilled link shows its values to anyone who sees the link, because the values sit in the address. Prefill what is safe to display in a URL, and leave sensitive answers for the person to type into the form.

Common mistakes

  • Guessing parameter names. A name the service does not recognize is ignored and the field stays empty. Use the service's own names.
  • Turning encoding off. Values with spaces or an ampersand break apart on the way in. Encoding on is the default for a reason.
  • Adding a value with no name. The builder rejects the row, because it cannot be represented. Every row needs its name.
  • Sharing the link untested. The link can look perfect while the form ignores every pair. Open it first and see the fields filled.
  • Prefilling private data. The values are visible in the address bar and anywhere the link is pasted. Keep sensitive answers out of the URL.

FAQs

What is a query string? The part of a URL after the question mark, made of name=value pairs joined by ampersands. It carries search terms, page numbers, tracking codes and similar data, and in a prefilled form link it carries the values meant for the form's fields.

Will a prefilled link work with any form? No. It works only where the form service reads values from the URL's parameters. If the service ignores URL parameters, the same link simply opens a blank form. No builder can change that, which is why you test the finished link yourself before sharing it.

Why should encoding stay on? With encoding on, spaces in a value become + and characters like & and # are escaped, which is the standard behavior for query strings. A value arrives as one value. With encoding off, values go in exactly as typed, and an unescaped & inside a value is read as the separator between two pairs.

Can a parameter have an empty value? Yes. Give the row a name and leave the value blank, and the URL gets name= with nothing after the equals sign. A row with a value but no name is rejected, because it cannot be represented in a query string.

What happens to parameters already on the form's URL? They are kept. The base URL can be entered with or without parameters it already has, and the rows you add are appended after the ones already there, so nothing the form's own link carried is lost.

Conclusion

A prefilled form link is ordinary URL mechanics: the form's own address, one name=value pair per field, assembled exactly by the Query String Builder with encoding on, and verified by the one test that counts, opening it and seeing the fields filled. The names come from the form service, the accuracy comes from the builder, and the proof comes from your own click. For the same assembly pointed at a shop instead of a form, see our guide to building search and filter URLs for an online store. For more guides in this series, see the URL and Link Tools guides.

References