Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conditionally Required Entries in Custom Metadata Blocks #10576

Open
Saixel opened this issue May 21, 2024 · 0 comments
Open

Conditionally Required Entries in Custom Metadata Blocks #10576

Saixel opened this issue May 21, 2024 · 0 comments
Assignees
Labels
NIH CAFE Issues related to and/or funded by the NIH CAFE project Size: 80 A percentage of a sprint. 56 hours. Type: Feature a feature request

Comments

@Saixel
Copy link
Contributor

Saixel commented May 21, 2024

Background

To ensure data quality and completeness, we need the ability to make certain fields in custom metadata blocks conditionally required based on user responses.

Issue

In the custom metadata blocks "Metadata about Data Sources" and "Metadata about Geospatial Files", we would like fields to appear as required only if "yes" is selected for the first question.

Feature Request

  • Implement logic to conditionally require fields in custom metadata blocks based on previous field responses.
  • Ensure that the fields are only marked as required if the condition is met.

Justification

This feature will help maintain metadata standards by ensuring that users provide all necessary information when certain conditions are met, thereby improving data quality and consistency.

Implementation Considerations

  • Review the current implementation of metadata blocks and identify where conditional logic can be applied.
  • Analyze the feasibility of implementing this feature and confirm with the team.
  • Develop and test the necessary changes to the system to support conditionally required fields.
  • Ensure that the changes are backward compatible and do not affect existing metadata entries.

Additional Context

This feature request is based on recurring issues where users do not provide additional metadata unless it is explicitly required. By making fields conditionally required, we can ensure that all relevant information is captured during the dataset creation process. Given that the viability of implementing this new feature is not yet confirmed, an initial analysis will be necessary to determine if it can be achieved and to plan the implementation accordingly.

@Saixel Saixel added Type: Feature a feature request NIH CAFE Issues related to and/or funded by the NIH CAFE project labels May 21, 2024
@Saixel Saixel self-assigned this May 21, 2024
@Saixel Saixel added the Size: 80 A percentage of a sprint. 56 hours. label Jul 17, 2024
@cmbz cmbz moved this to SPRINT READY in IQSS Dataverse Project Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NIH CAFE Issues related to and/or funded by the NIH CAFE project Size: 80 A percentage of a sprint. 56 hours. Type: Feature a feature request
Projects
Status: SPRINT READY
Development

No branches or pull requests

1 participant