We have a custom made COVID-19 Vaccine form. Users fill in the various fields (lot, exp date etc) And click commit. The commit function checks to see if all the fields are filled in and there is a USEROK telling them there are missing fields. There is also a check that if they are all blank that it doesn't continue to the IMMUN_ADD part of the function.
However, when all the fields are blank and the user leaves the form. They get a popup saying "Some values have not been committed to the flowsheet"
This isn't pulling from the commit function in the form, but I assume that it is happening because of the IMMUN_ADD function in the form. The commit function itself should be disabled and only triggered with the button. How else can I only get this popup if the form is partially filled out.
CCC immunization forms get this same popup but only if one of the fields is not blank, no popup if its left blank.
How do I stop the popup!