Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module makes fields optional until an entity reaches a specific content moderation state, at which point they become required. This allows for fields to be mandatory only when content is ready for review or publishing.

This module allows fields to only be required when their associated entity reaches a certain Content Moderation state. For example, you could keep a certain field optional while editors are working on a draft and mark it as required when they are marking the entity as ready for review, or when they try to publish the entity themselves.

Post-Installation

After installing the module, visit the edit form of the field you want to change and under 'Choose a required strategy' choose 'Required by Content Moderation state'. Aftwerwards, you can choose which Content Moderation states should make the field required.

Similar projects

  • Required by role: allows fields to only be required when the current user has a certain role.

Activity

Total releases
3
First release
Dec 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Slowing

Release Timeline

Releases

Version Type Release date
1.0.0 Stable Jul 8, 2025
1.0.0-beta1 Pre-release Dec 9, 2024
1.0.x-dev Dev Dec 9, 2024