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://tw.wordpress.org/plugins/list-column-required-for-gravity-forms/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/list-column-required-for-gravity-forms/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/list-column-required-for-gravity-forms/#installation)
 * [開發資訊](https://tw.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**
 *  最後更新 **1 個月前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/list-column-required-for-gravity-forms/)
 * 標籤:
 * [form editor](https://tw.wordpress.org/plugins/tags/form-editor/)[gravity forms](https://tw.wordpress.org/plugins/tags/gravity-forms/)
   [list field](https://tw.wordpress.org/plugins/tags/list-field/)[validation](https://tw.wordpress.org/plugins/tags/validation/)
 *  [進階檢視](https://tw.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)