Skip to content
This repository has been archived by the owner on Aug 22, 2018. It is now read-only.

Rewrite patient registration using Angular for form validation #818

Open
jniles opened this issue Oct 19, 2015 · 0 comments
Open

Rewrite patient registration using Angular for form validation #818

jniles opened this issue Oct 19, 2015 · 0 comments

Comments

@jniles
Copy link
Contributor

jniles commented Oct 19, 2015

Angular's built-in form validation is awesome, and we should be using it more. A significant enhancement would be to apply form validation to the large patient registration form. The goal would be:

  1. Allow the user to click the submit button on an invalid form, to show error messages around fields that have missing or invalid values
  2. Custom error messages for all fields, such as "this data is required" or "date of birth must be within xxxx -- yyyy".
  3. Disable the form while it is being submitted to the server.

This would significantly clean up our client code, and allow the controller to deal with logic instead of validation. It also would enhance the user experience significantly.

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

No branches or pull requests

1 participant