Skip to content

Conditionally required fields are not enforced at save #14

Closed
@allsite

Description

@allsite

This issue dates back many years in d7 and it would be a fantastic improvement for Backdrop if form validation worked properly in conjunction with conditional fields.

Steps to reproduce:

  1. add a boolean field
  2. add a short text field
  3. add a condition to set the short text field as required when the boolean field is set to true
  4. Save the entity

This should throw a form error instead of saving, yet the entity is saved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions