Add-on: JWT Prefill
JWT Prefill is a Gravity Forms add-on that prefills form fields from a signed JSON Web Token (JWT) instead of editable URL parameters. The token is checked with a private key before the form loads, so visitors cannot change the prefilled data. Use it for personal links in emails, member forms and any form where the prefilled values must be trusted.
What you can do with JWT Prefill
- Fill fields from the claims in the token: a claim
textfills the field with dynamic population parametertext. - Check every token with a private key per form.
- Load a form only when a valid token is passed, optionally within a start and end time.
- Allow or block specific tokens with lists in another form, and change the error messages.
- Generate token links with the
[gwp_jwt_link]shortcode or a Gravity Flow step. - Store and validate the token in the JSON Web Token field, and read single claims with a merge tag modifier.
Where to start
- Settings JWT Prefill: set the private key and the token rules for a form.
- Populate Dynamically: connect claims to fields.
- Shortcode gwp_jwt_link: create the links.
Requirements
- Gravity Forms 2.5 or later
- WordPress 5.0 or later
- PHP 7.4 or later
- Optional: Gravity Flow, for the Generate prefill JWT workflow step
Features, pricing and a live demo are on the JWT Prefill product page.
JSON Web Token Field
Instruction how to use the JSON Web Token Field.
Populate Dynamically
Learn how to use JWT claims to dynamically populate other fields in a Gravity Form.
Settings JWT Prefill
Instruction for the Form settings page for JWT Prefill.
Shortcode gwp_jwt_link
Instruction how to use a shortcode to generate links with a JWT token.
Workflow step JWT Prefill
Learn how to configure a Gravity Flow workflow step to generate a prefill JWT token.