Help Center menu

Prefilling answers via URL

You can pre-fill any block's value by appending a query parameter to the form URL. Handy for tracking traffic sources, personalising landing pages, or piping data from an email link into a form.

Syntax

Append ?prefill_[BLOCK_ID]=[VALUE] to the form URL. For multiple prefills, chain with &:

https://nodumforms.com/f/abc123/contact?prefill_b1=Alex&prefill_b2=alex%40example.com

Finding the block ID

Open the form in the builder, click the block you want to prefill, and check the URL or the block's settings panel for its ID. Block IDs are stable UUIDs — they don't change when you rename the question.

What gets prefilled

  • Text fields (Short Text, Long Text, Email, Phone) — the value appears in the input.
  • Dropdown / Single Select — the matching option is pre-selected if the value matches an option's text exactly.
  • Multiple Choice / Checkbox — pass a comma-separated value to pre-select multiple options.
  • Rating — pass a number; the matching rating is pre-selected.
  • Yes / No — pass yes or no.

URL-encoding

Always URL-encode the values. Spaces become + or %20, ampersands become %26, etc. Most languages have a built-in helper (encodeURIComponent in JavaScript, urllib.parse.quote in Python).

Tracking source

A common pattern: append ?prefill_BLOCK=newsletter to links in your newsletter, ?prefill_BLOCK=twitter to social posts, etc. Then add a hidden "How did you hear about us?" field whose value is prefilled by the URL — instant attribution.

Give feedback

Was this resource helpful?

|

Up next

Custom domains

Serve your form from your own domain (e.g., `forms.yourbrand.com`) instead of `nodumforms.com`. Looks more polished and keeps respondents in your brand experience.

Read more

FAQs

Yes — set a custom domain for any form (e.g., forms.yourbrand.com) from the form settings. You'll need to add a CNAME record at your DNS provider pointing to nodumforms.com.

A native embed snippet isn't built yet. As a workaround you can wrap the public form URL in your own iframe, but the form's page-level chrome (header / footer) will be visible. A dedicated embed mode is on the roadmap.

Yes — append query parameters of the form `?prefill_BLOCKID=value` to the form URL. The matching block opens with the value already filled in. Useful for tracking source links and personalising entry points.