Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Paragraphs field validator

No security coverage Maintenance fixes only

Part of the Paragraphs ecosystem · 88 projects

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.

Drupal 10–11

Ask your assistant about Paragraphs field validator

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
10 months ago
Releases (12 mo)
1 ▼ from 3
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP 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