iupui-soic / openemr

The most popular open source electronic health records and medical practice management solution.
https://open-emr.org/
GNU General Public License v3.0
0 stars 2 forks source link

Vitals form gets filled on bad data #1

Closed sunbiz closed 4 months ago

sunbiz commented 5 months ago

Describe the bug

Blank data gets filled when form validation fails on form_vitals.php

To Reproduce

image

Steps to reproduce the behavior:

  1. Add 'abc' in any vitals field
  2. Click on Save
  3. You will get an alert that data is not correct.
  4. However, the form_vitals is saved as blank.

Expected behavior

Instead, the form should be prevented from getting saved.

Client configuration

sunbiz commented 4 months ago

Closing as fixed.