[Instrument] missing error message when Linst Form won't save due to BasicDate field #7656
Labels
24.0.0-bugs
Issues or bug fix PRs that were raised during the testing of release 24.0.0
Category: Bug
PR or issue that aims to report or fix a bug
When a BasicDate field is required due to a Xin rule, and left empty, and the Linst Form (correctly) doesn't save --
the user has to re-check every field in the form because no error message appears near the BasicDate field.
This is frustrating to users and may lead to data loss.
e.g. in this sequence of questions :
(1) Was the Surgery done? (yes/no/not_answered) -> user selects "yes"
(2) What date was the surgery? (BasicDate) --> left empty.
And there is a XIN rule in place: (2) date is required iff (1) surgery done== "yes"
In this case, the XIN rule triggers correctly, and the Form doesn't save (correctly) and an error message is printed at top (
Form was not saved
) -- but there's no way to tell which field caused the error.The user has to re-check every field in the form.
Note StandardDate can't be used instead, because of another bug #7650
The text was updated successfully, but these errors were encountered: