Disable "Save Question" Button for Invalid Concept ID in Interactive Builder

Priority

Labels

Affects versions

None

Fix versions

None

Sprint

Description

In the interactive builder of Form Builder, when editing a concept ID in the schema editor, the system correctly checks if the entered ID exists and displays a notification if it does not. However, the "Save Question" button remains enabled even when an invalid or non-existent concept ID is entered. This allows users to save the form with an invalid concept ID, potentially leading to data inconsistencies.

Steps to Reproduce:

  • Open the interactive builder in Form Builder.

  • Edit the concept ID in the schema editor and enter an invalid or non-existent ID.

  • Notice the notification indicating the concept ID is not present.

  • Observe that the "Save Question" button is still enabled.

  • Attempt to save the form.

Expected Behavior:
The "Save Question" button should be disabled until a valid concept ID is entered.

Impact:
Allowing the form to be saved with an invalid concept ID can lead to data integrity issues. This behavior should be fixed to enforce proper validation before saving.

Attachments

1
  • 28 Feb 2025, 06:32 PM

Activity

Show:

Details

Assignee

Reporter

Goals

None

Components

Created February 28, 2025 at 6:32 PM
Updated March 2, 2025 at 10:37 AM