Title: Invitation Codes: Gravityforms Add-on
Author: Peshmerge Morad
Published: <strong>2022 年 10 月 5 日</strong>
Last modified: 2025 年 9 月 21 日

---

搜索插件

![](https://ps.w.org/invitation-codes-gravityforms-add-on/assets/banner-772x250.
png?rev=2794409)

![](https://ps.w.org/invitation-codes-gravityforms-add-on/assets/icon-256x256.png?
rev=2794409)

# Invitation Codes: Gravityforms Add-on

 作者：[Peshmerge Morad](https://profiles.wordpress.org/peshmerge/)

[下载](https://downloads.wordpress.org/plugin/invitation-codes-gravityforms-add-on.1.5.zip)

 * [详情](https://cn.wordpress.org/plugins/invitation-codes-gravityforms-add-on/#description)
 * [评价](https://cn.wordpress.org/plugins/invitation-codes-gravityforms-add-on/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/invitation-codes-gravityforms-add-on/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/invitation-codes-gravityforms-add-on/#developers)

 [支持](https://wordpress.org/support/plugin/invitation-codes-gravityforms-add-on/)

## 描述

This plugin is created to enable WordPress site owners to specify a custom invitation
code to be used with Gravity Forms.
 Once an invitation code is specified on a form,
the user can’t submit that form until that invitation code is entered in the field
during the form submission. This plugin can be combined with the Gravity Forms User
Registration Add-On to make sure that only people with a correct invitation code
can register on your website.

## 屏幕截图

[⌊General tab of the Invitation Code field in the form editor.⌉⌊General tab of the
Invitation Code field in the form editor.⌉[

General tab of the Invitation Code field in the form editor.

[⌊General tab of the Invitation Code field with a filled in Invitation Code, and
checked option regarding case-sensitive
invitation codes.⌉⌊General tab of the Invitation
Code field with a filled in Invitation Code, and checked option regarding case-sensitive

invitation codes.⌉[

General tab of the Invitation Code field with a filled in Invitation Code, and checked
option regarding case-sensitive invitation codes.

[⌊Appearance tab of the Invitation Code field with a custom validation message.⌉⌊
Appearance tab of the Invitation Code field with a custom validation message.⌉[

Appearance tab of the Invitation Code field with a custom validation message.

[⌊Form preview with the Invitation Code field with an incorrect input.⌉⌊Form preview
with the Invitation Code field with an incorrect input.⌉[

Form preview with the Invitation Code field with an incorrect input.

## 安装

 1. Upload the plugin folder to your /wp-content/plugins/ folder.
 2. Go to the **Plugins** page and activate the plugin.
 3. Create a GravityForm form and go the edit page.
 4. Within the Advanced Fields section in the editor, select “Invitation Code”.
 5. In the General tab of the Field Settings fill in the Invitation Code you want.
 6. In the Appearance tab of the Field Settings, you can specify the “Custom Validation
    Message”. This message will be shown to the user when a wrong invitation code is
    submitted.

## 常见问题

### How do I use this plugin?

This plugin requires you to have Gravity Forms installed (min version 2.5).
 The
plugin is tested with Gravity Forms 2.8.12.1

### How to uninstall the plugin?

Simply deactivate and delete the plugin.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Invitation Codes: Gravityforms Add-on」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Peshmerge Morad ](https://profiles.wordpress.org/peshmerge/)

[帮助将「Invitation Codes: Gravityforms Add-on」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/invitation-codes-gravityforms-add-on)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/invitation-codes-gravityforms-add-on/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/invitation-codes-gravityforms-add-on/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/invitation-codes-gravityforms-add-on/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/invitation-codes-gravityforms-add-on/)。

## 更新日志

#### 1.5

 * New: Added support for multi-page Gravity Forms forms. Thanks @ianmac2 for reporting
   this bug.
 * Fixed: Validation now works correctly with comma-separated invitation codes entered
   in the field settings.
 * Tested: Confirmed compatibility with the latest versions of WordPress and Gravity
   Forms.

#### 1.4

 * Fixed: Changed the invitation codes fields to a text area instead of a simple
   text field.
 * Fixed: Run the Plugin Check (PCP) on the plugin and solved the raised issues

#### 1.3

 * Fixed: Removed the plugin dependency of GravityForms. WP.org reject the plugin
   because GF can’t be found on WP.org

#### 1.2

 * New: The plugin requires now GravityForms to be installed to activated
 * New: The limit of 200 invitation codes has been imposed in the form editor.
 * New: Placeholder support is added to the field.
 * Fixed: Corrected typos and did some minor reformatting for the code.

#### 1.1

 * New: Invitation code can now be a list of comma-separated codes instead of a 
   single code.
 * New: User can make invitation codes input case-sensitive; default is case-insensitive.
 * Fixed: The invitation code field can now be populated dynamically just like other
   GF fields.
 * Fixed: The Javascript part is rewritten.

#### 1.0

 * Plugin released.

## 额外信息

 *  版本 **1.5**
 *  最后更新：**9 月前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 5.5 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/invitation-codes-gravityforms-add-on/)
 * 标签
 * [gravity form](https://cn.wordpress.org/plugins/tags/gravity-form/)[GravityForms](https://cn.wordpress.org/plugins/tags/gravityforms/)
   [invitation codes](https://cn.wordpress.org/plugins/tags/invitation-codes/)
 *  [高级视图](https://cn.wordpress.org/plugins/invitation-codes-gravityforms-add-on/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/invitation-codes-gravityforms-add-on/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/invitation-codes-gravityforms-add-on/reviews/)

## 贡献者

 *   [ Peshmerge Morad ](https://profiles.wordpress.org/peshmerge/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/invitation-codes-gravityforms-add-on/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://buymeacoffee.com/peshmerge)