Primary mentor | |
Backup mentor | |
Assigned to |
Abstract
The form engine and builder currently support JavaScript expression-based validation. However, this can be challenging when creating complex validations and may potentially lead to errors. In most cases, form creation is done by BAs who may not have experience with writing JavaScript expressions. The proposed solution is to introduce a UI-based validation rule builder to the form builder, something similar to https://tally.so/help/conditional-form-logic
Project Overview
Primary Goal:
...
Resources
Proposal: https://drive.google.com/file/d/1RxJ3Y9U1zlrQ5m0q7j3CULiaWWwUioOd/view
Figma Design: https://www.figma.com/design/ugQiiRmK3gIJxvcR0c3CWn/Untitled?node-id=0-1&t=xiP39ef7X0LYpkKr-0
Talk Thread: https://talk.openmrs.org/t/gsoc-2024-validation-rule-builder-for-the-form-builder-progress-update/42683/5
Ampath Form: https://ampath-forms.vercel.app/docs/validation/js-expression-based-validation
...
Form-builder: https://github.com/openmrs/openmrs-esm-form-builder
Validation Rule Builder UI Code Workflow: