Drupal is a registered trademark of Dries Buytaert

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.

Activity

Total releases
4
First release
Sep 2025
Latest release
3 months ago
Release cadence
24 days
Stability
75% stable

Release Timeline

Releases

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