Linux 软件免费装
Banner图

List Column Required for Gravity Forms

开发者 izzygld
更新时间 2026年4月30日 23:08
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

validation gravity forms form editor list field required columns

下载

1.1.0 1.1.1 1.1.2

详情介绍:

List Column Required for Gravity Forms lets you mark individual columns as required in multi-column List fields — something Gravity Forms doesn't support out of the box. By default, Gravity Forms only allows you to make the entire List field required (meaning at least one row must be filled). This plugin goes further: you can choose which columns within each row must be filled in before the form can be submitted. The Problem When using the Gravity Forms List field with "Enable multiple columns" turned on, there's no way to require specific columns. You can only require the entire field, which passes as long as any cell has a value — even if critical columns like "Email" or "Name" are left blank. The Solution This plugin adds a small "Required" checkbox next to each column in the form editor. Check it, and that column becomes required — with server-side validation, front-end asterisk indicators, and accessible aria-required attributes. Key Features How It Works
  1. Edit any form with a multi-column List field
  2. Check the "Required" checkbox next to individual columns in the form editor
  3. Save the form — required columns are enforced on submission
Validation Logic

安装:

  1. Upload the list-column-required-for-gravity-forms folder to /wp-content/plugins/
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Edit any form with a List field → enable multiple columns → check "Required" on the columns you want
No configuration pages or global settings needed.

屏幕截图:

  • Front-end form with required column asterisk indicators

升级注意事项:

1.1.2 Maintenance release. Safe to upgrade — no functional changes. 1.1.0 Adds field-label asterisk + "indicates required fields" legend when any column is required, for better accessibility and consistency with native GF required fields. 1.0.0 Initial release.

常见问题:

Does this require Gravity Forms?

Yes. Gravity Forms 2.5 or higher must be installed and activated.

Does it work with single-column List fields?

No — single-column List fields don't have individual columns to mark as required. Use the standard field-level "Required" setting for those.

Where is the "Required" checkbox?

In the form editor, click on a List field with multiple columns enabled. Each column in the "Columns" section will have a "Required" checkbox next to it.

Does it create any database tables?

No. Column required state is stored in the existing form JSON as an isColumnRequired flag on each column choice object.

更新日志:

1.1.2 1.1.1 1.1.0 1.0.0