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

Better error reporting for invalid Questionnaires #94

Open
vadi2 opened this issue May 5, 2022 · 1 comment
Open

Better error reporting for invalid Questionnaires #94

vadi2 opened this issue May 5, 2022 · 1 comment

Comments

@vadi2
Copy link

vadi2 commented May 5, 2022

In case the user has messed up their Questionnaire (say, by building it manually outside of lforms) and tries to load it into the app, scenarios like missing linkId's for enableWhen will cause JS errors which prevent rendering. It would be nice if such errors were reported back to the user so non-technical users are able to diagnose their problems better.

@plynchnlm
Copy link
Member

I agree. We have started work on showing error messages on individual fields, but had to put it on hold. In the meantime, I would suggest posting a Questionnaire to a validating FHIR server to check for errors when the Questionnaire is still in development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants