Skip to content

Allow conditional logic to make a mandatory fields optional #6485

@jpye-finch

Description

@jpye-finch

Description

Often not all the details about someone are known but not all. This causes issues as a field can only by mandatory or optional.

There are some use cases where a mandatory field will need to be optional.

For example. We don't fully support the registration of an unknown deceased. As we have mandatory fields. The purpose of the registration is to record the event. The death. Not the identity of the deceased

This ticket is to allow conditional logic:

  • Make any mandatory field optional
  • Make an optional field mandatory

Example 1:
Add a checkbox on the deceased page. 'Deceased identity is unknown'

IF Deceased identity is unknown is true
THEN then all mandatory fields are optional on the Deceased details page

Example 2:
Foundling

If child is a foundling
THEN then all mandatory fields are optional on the Child's details page

ACs

GIVEN I select an option from a dropdown, of a checkbox
WHEN their is conditional logic on that field to make other fields optional
THEN The it changes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Completed

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions