plugin/prefill-gravity-forms

There is no license information available for the latest version (v1.8.0) of this package.

Prefill GravityForms Plugin

Installs: 68

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 2

Open Issues: 9

Type:wordpress-plugin

pkg:composer/plugin/prefill-gravity-forms


README

Description

Prefill GravityForms fields, based on the dutch BSN number. Retrieve personal information and place these values in the corrensponding fields.

Dependencies

In order to use this plug-in there are two required plug-ins:

  • GravityForms (premium)
  • Yard | GravityForms DigiD (private repo, contact Yard | Digital Agency for access)

See here for more details.

Features

  • Map GravityForms fields to attributes retrieved from the configured supplier.
  • Mapped fields will be prefilled while rendering a form.
  • Gutenberg block for displaying personal data of the current logged in user.

Installation

Manual installation

  1. Upload the 'prefill-gravity-forms' folder in to the /wp-content/plugins/ directory.
  2. cd /wp-content/plugins/prefill-gravity-forms
  3. Run `composer install, NPM asset build is in version control already.
  4. Activate the plugin in via the WordPress admin.

Composer installation

  1. composer source git@github.com:OpenWebconcept/plugin-prefill-gravity-forms.git
  2. composer require plugin/prefill-gravity-forms
  3. cd /wp-content/plugins/prefill-gravity-forms
  4. Run composer install, NPM asset build is in version control already.

Setup

  1. Go to '/wp-admin/admin.php?page=gf_settings&subview=owc-gravityforms-iconnect' and configure all the required settings.
    1. Suppliers will provide the needed certificates which need to be selected in order to make prefilling form fields work.
    1. Suppliers will also provide an API-key, certificates password (if needed) and a base URL.
    1. OIN is a unique number for organizations provided by Logius.
  1. Go to the form settings of the form you want to configure.
  2. Scroll down and look for the 'iConnect' panel and configure the settings.

🔐 Cache Encryption

To enable secure caching of sensitive data, you must define an encryption key in your wp-config.php file. This key is used to encrypt and decrypt the cached data and should be kept secret at all times.

Add the following line to your wp-config.php:

// Prefill Gravity Forms – Cache Encryption Key
define('PG_CACHE_ENCRYPTION_KEY', 'your-unique-32-character-key');

Important:

  • Use a randomly generated, 32-character key for strong AES-256 encryption.
  • Never store this key in the database.
  • Keep it secret and secure — anyone with access to this key can decrypt cached data.

License

The source code is made available under the EUPL 1.2 license. Some of the dependencies are licensed differently, with the BSD or MIT license, for example.