定制 plugin/prefill-gravity-forms 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

plugin/prefill-gravity-forms

最新稳定版本:v1.8.0

Composer 安装命令:

composer require plugin/prefill-gravity-forms

包简介

Prefill GravityForms Plugin

README 文档

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.

统计信息

  • 总下载量: 139
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 4
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2025-12-04