Required field by Form mode
This module allows you to mark individual fields as required on specific form modes, while keeping them optional on others. This provides granular control over field requirements across different contexts, such as for certain entity types like nodes, users, and taxonomy terms.
This module will help you to set a field required only in a specific form mode.
You can keep the field optional for some form modes while required for others.
This module's functionality is tested and supports these entities (node, user, taxonamy_term).
How to use the module:
- After enabling the module, go to any field you need to make it required and keep it not-required from the settings.
- Go to the form mode now, and in the field settings, you will be able to set this field required.
This module is working great with other form mode modules like:
form_mode_manager module.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 3.0.0 | Stable | 9–11 | Support Drupal 9, 10, and 11 | Mar 14, 2026 | |
| 3.0.x-dev | Dev | 9–11 | Support Drupal 9, 10, and 11 | Mar 14, 2026 | |
| 1.0.6 | Stable | 10–11 | Unsupport Drupal 9 | Mar 14, 2026 | |
| 1.0.5 | Stable | 9–11 | Supports Drupal 11 and Bug fixes | Mar 14, 2026 | |
| 1.0.4 | Stable | 9–11 | Supports Drupal 11 and Bug fixes | Mar 14, 2026 | |
| 1.0.3 | Stable | 9–11 | Add Drupal 11 compatibility. | Mar 14, 2026 | |
| 1.0.2 | Stable | 9–10 | New features | Dec 2, 2025 | |
| 1.0.1 | Stable | 9–10 | Jun 19, 2025 |