hi, I am using htmlformentryui module for the form. I would like to either edit or remove the emr.successfunction popup message when the Enter button is clicked on the htmlform. How you can edit or remove the emr.successfunction popup message from htmlformentryui module. Please let me know. Thanks
Hi Daniel, I have a created a form called Cardiac Adenosine Stress Protocol at uat-refapp.openmrs.org. As soon you click on Submit button at the bottom, a popup message shows that says entered Cardiac Adenosine Stress Protocol for patient name. The popup message stays for few seconds and disappears. I would like to know if I can remove or edit this popup message. Thank you.
You can edit the text for this message key https://github.com/openmrs/openmrs-module-htmlformentryui/blob/master/api/src/main/resources/messages.properties#L9
The values are filled in at https://github.com/openmrs/openmrs-module-htmlformentryui/blob/7160eb23c7f893152cfedd750f1cbf4f8673125c/omod/src/main/java/org/openmrs/module/htmlformentryui/fragment/controller/htmlform/EnterHtmlFormFragmentController.java#L274
Thank you so much Daniel. I will work on that and let you know.
I am able to edit the message. Thank you, Daniel
You may also be able to change this (with better encapsulation) by including a snippet of JavaScript in the form itself that redefines the function.
-Darius (by phone)
Thank you Darius for different way to edit the message.