Skip to content

Pre-fill answers from a link

Add a question's reference to the URL and its answer is filled in before the form opens: ?email=ada@example.com&plan=Pro.

Written by
Updated

Every plan
  1. Select the question and give it a Reference in Group & reference, such as email or plan.
  2. Add it to the link as a parameter: app.formsai.dev/f/your-form?email=ada@example.com&plan=Pro.
  3. Open the link: the answers are already filled in, and people can change them.

How values are read

QuestionValue in the link
Text, email, website, phoneThe text as written.
Number, rating, opinion scale, NPSA number within range.
Multiple choice, picture choice, dropdownThe choice's label (any case) or id.
Yes / Noyes, no, true or false.
DateYYYY-MM-DD.

Values that don't fit the question (a word in a number question, an option that doesn't exist) are ignored. Names that are hidden fields stay hidden fields.