Title: List Column Required for Gravity Forms
Author: izzy goldman
Published: <strong>2026 年 4 月 30 日</strong>
Last modified: 2026 年 5 月 3 日

---

搜索插件

![](https://ps.w.org/list-column-required-for-gravity-forms/assets/banner-772x250.
png?rev=3519665)

![](https://ps.w.org/list-column-required-for-gravity-forms/assets/icon-256x256.
png?rev=3519665)

# List Column Required for Gravity Forms

 作者：[izzy goldman](https://profiles.wordpress.org/izzygld/)

[下载](https://downloads.wordpress.org/plugin/list-column-required-for-gravity-forms.1.2.0.zip)

 * [详情](https://cn.wordpress.org/plugins/list-column-required-for-gravity-forms/#description)
 * [评价](https://cn.wordpress.org/plugins/list-column-required-for-gravity-forms/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/list-column-required-for-gravity-forms/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/list-column-required-for-gravity-forms/#developers)

 [支持](https://wordpress.org/support/plugin/list-column-required-for-gravity-forms/)

## 描述

**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

 * **Per-Column Required** — Mark individual columns as required independently
 * **Server-Side Validation** — Required columns are enforced on form submission
 * **Front-End Indicators** — Red asterisks on required column headers, matching
   GF native styling
 * **Accessibility** — Adds `aria-required="true"` to required column inputs
 * **Auto-Require All** — Toggling the field-level “Required” rule ON automatically
   marks all columns required
 * **Smart Row Handling** — Blank extra rows are skipped; partially filled rows 
   enforce required columns
 * **Zero Configuration** — No settings pages; works at the field level out of the
   box

#### 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

 * **Row with some data**  all required columns in that row must be filled
 * **All rows empty**  the first row’s required columns are enforced
 * **Extra blank rows**  skipped (user added a row but didn’t start filling it)
 * **Non-column List fields**  completely unaffected

## 屏幕截图

 * [[
 * Form editor showing the per-column “Required” checkbox
 * [[
 * Front-end form with required column asterisk indicators

## 安装

 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.

## 常见问题

### 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.

## 评价

此插件暂无评价。

## 贡献者及开发者

「List Column Required for Gravity Forms」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ izzy goldman ](https://profiles.wordpress.org/izzygld/)

[帮助将「List Column Required for Gravity Forms」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/list-column-required-for-gravity-forms)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.2.0

 * Cell-level error highlighting: only the specific empty required cells in a List
   field now show the red error border, instead of every cell in the field.
 * Accessibility: `aria-invalid="true"` is now set only on the failing cells (was
   previously a blanket effect).
 * New CSS hooks for theming: required cells get `lcr-gf-required-cell` and `data-
   lcr-col="Column Name"`; failing cells additionally get `lcr-gf-cell-error`.
 * Subtle visual marker on required-but-currently-valid cells (inset border on the
   left edge) inside the GF framework theme.

#### 1.1.2

 * Maintenance release: added automated WordPress.org SVN deployment workflow and
   official plugin assets (icon, banner, screenshots). No functional changes from
   1.1.0.

#### 1.1.1

 * Skipped (release-tooling test).

#### 1.1.0

 * Accessibility + consistency: when any column is marked required (but the field-
   level “Required” is off), the field label now shows the standard asterisk and
   the form displays the “* indicates required fields” legend at the top — matching
   how GF natively signals required fields. Validation behavior is unchanged.

#### 1.0.0

 * Initial release
 * Per-column required checkboxes in form editor
 * Server-side validation for required columns
 * Front-end asterisk indicators and aria-required attributes
 * Smart row handling (skip blank extra rows)
 * Auto-require all columns when field-level required is toggled ON

## 额外信息

 *  版本 **1.2.0**
 *  最后更新：**5 天前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/list-column-required-for-gravity-forms/)
 * 标签
 * [form editor](https://cn.wordpress.org/plugins/tags/form-editor/)[gravity forms](https://cn.wordpress.org/plugins/tags/gravity-forms/)
   [list field](https://cn.wordpress.org/plugins/tags/list-field/)[validation](https://cn.wordpress.org/plugins/tags/validation/)
 *  [高级视图](https://cn.wordpress.org/plugins/list-column-required-for-gravity-forms/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/list-column-required-for-gravity-forms/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/list-column-required-for-gravity-forms/reviews/)

## 贡献者

 *   [ izzy goldman ](https://profiles.wordpress.org/izzygld/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/list-column-required-for-gravity-forms/)

## 捐助

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

 [ 捐助此插件 ](https://github.com/izzygld)