Skip to content

Prefill Form Fields via URL Parameters #1481

@arnaud-robin

Description

@arnaud-robin

Describe the problem to be solved

Currently, Grist does not support prefilling form fields via URL parameters when sharing a form. As a result, users must manually enter values, even when the sender already knows them. This creates unnecessary friction, especially in cases where forms are used to supplement data that the user may not have readily available.

For example, if a form is designed to collect feedback on a specific project, automatically populating the "Project ID" field via the URL could prevent errors and streamline the process.

Describe the solution you would like

It would be useful to allow form fields to be prefilled using URL parameters, similar to Tally's Hidden Fields. This would enable passing values directly in the URL, like so:

https://getgrist.com/o/docs/xxxx/f/1?myfield=42

Expected behavior:

  • When a URL contains parameters matching field names, those fields should be automatically prefilled when the form loads.
  • Prefilled fields should be visible and editable by default, unless explicitly locked.
  • If the field does not exist in the form, the parameter should be ignored.

Use cases:

  • Pre-filling known user data (e.g., name, email, department).
  • Reducing manual entry for structured data submissions.
  • Enhancing integrations with external tools by allowing dynamic form filling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestformsfeedback for the forms featuregouv.fr

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions