Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Usage Milestone: Time Field for Drupal 8+ Module time_field crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This module allows site builders to enforce custom validation rules on fields within Paragraphs entities. It enables conditional logic, such as requiring a specific field to meet certain criteria only if another field has a particular value, and can be restricted to specific content types or nodes. This helps content editors adhere to required data structures without needing custom code.

Introduction

Paragraphs Field Validator is a utility module for Drupal site builders who work extensively with the Paragraphs module. It allows you to enforce custom validation rules on Paragraph fields based on configurable conditions.

Instead of relying only on field constraints or custom code, this module lets you define rules like:

  • “If field X equals Y, then field Z must match this regex.”
  • “Apply this validation only on specific nodes.”

This ensures content editors follow the correct structure without needing developer intervention.

Features

  • Define validation rules per Paragraph bundle.
  • Conditional validation triggered by a key field’s value.
  • Regex pattern validation with customizable error examples.
  • Case-insensitive matching option.
  • Restrict rules to specific nodes.
  • Configuration form at Configuration → Content authoring → Paragraphs Field Validator.

Target audience

This module is designed for:

  • Site builders who configure editorial workflows and need to enforce rules without custom PHP.
  • Content architects who use Paragraphs to model complex content types.
  • Agencies/teams maintaining multisite or multilingual sites where consistency in Paragraph data entry is critical.

Additional requirements

Why use this module?

If your editors regularly use Paragraphs and you want to enforce business rules (like URL formats, phone numbers, or conditional requirements), this module saves time and reduces human error without writing custom validators.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Sep 2025
Latest release
8 months ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
1.0.2 Stable 10–11 Dec 3, 2025
1.0.1 Stable 10–11 Sep 26, 2025
1.0.0 Stable 10–11 Sep 23, 2025
1.0.x-dev Dev 10–11 Sep 23, 2025