# Implementer interface doesn't show any warning if user doesn't save the form

**URL:** <https://talk.openmrs.org/t/implementer-interface-doesnt-show-any-warning-if-user-doesnt-save-the-form/22670>\
**Category:** Bahmni\
**Created:** [April 3, 2019, 1:44pm UTC](https://talk.openmrs.org/t/implementer-interface-doesnt-show-any-warning-if-user-doesnt-save-the-form/22670 "2019-04-03T13:44:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![shivarachakonda](https://talk.openmrs.org/letter_avatar/shivarachakonda/32/5_5575768a8748004e209b776fc1b2916d.png) [@shivarachakonda](https://talk.openmrs.org/u/shivarachakonda)\
**Post date:** [April 3, 2019, 1:44pm UTC](https://talk.openmrs.org/t/implementer-interface-doesnt-show-any-warning-if-user-doesnt-save-the-form/22670/1 "2019-04-03T13:44:19Z")

</div>

After the design of the form if the user moves to another link, there is no warning to save the form and all the data is lost.

Design the form and don’t save

 ![46%20PM](https://talk.openmrs.org/uploads/default/original/2X/f/f943e894d8dea2cb376126b7f65024c9a2d81c74.png)

Come back to the form which was not saved

 ![20%20PM](https://talk.openmrs.org/uploads/default/original/2X/9/955ba54c2a8c1bf68a16f6fde73c6f2ea54b863d.png)

We want to notify the user to chose to save or don’t save the designed form.

@angshuonline @binduak @rajashri @snehabagri @sowmika @alekhyayalla @bhiravabhatla @vmalini

---

<div class="post-metadata">

**Author:** ![alekhyayalla](https://talk.openmrs.org/letter_avatar/alekhyayalla/32/5_5575768a8748004e209b776fc1b2916d.png) [@alekhyayalla](https://talk.openmrs.org/u/alekhyayalla)\
**Post date:** [April 10, 2019, 9:12am UTC](https://talk.openmrs.org/t/implementer-interface-doesnt-show-any-warning-if-user-doesnt-save-the-form/22670/2 "2019-04-10T09:12:46Z")

</div>

Thought of Implementing to show a warning modal while trying to leave the form with unsaved changes… Mockup looks like this.

 ![37%20PM](https://talk.openmrs.org/uploads/default/original/2X/9/95c720c4fe5b79ebf511ec34d0868617e2111c71.png)

Please suggest changes, if required.@angshuonline @shivarachakonda

---

<div class="post-metadata">

**Author:** ![angshuonline](https://talk.openmrs.org/user_avatar/talk.openmrs.org/angshuonline/32/4925_2.png) [@angshuonline](https://talk.openmrs.org/u/angshuonline)\
**Post date:** [April 10, 2019, 9:14am UTC](https://talk.openmrs.org/t/implementer-interface-doesnt-show-any-warning-if-user-doesnt-save-the-form/22670/3 "2019-04-10T09:14:53Z")

</div>

where would the validation and the code be? in form-controls or outside?

---

<div class="post-metadata">

**Author:** ![alekhyayalla](https://talk.openmrs.org/letter_avatar/alekhyayalla/32/5_5575768a8748004e209b776fc1b2916d.png) [@alekhyayalla](https://talk.openmrs.org/u/alekhyayalla)\
**Post date:** [April 10, 2019, 9:18am UTC](https://talk.openmrs.org/t/implementer-interface-doesnt-show-any-warning-if-user-doesnt-save-the-form/22670/4 "2019-04-10T09:18:36Z")

</div>

@angshuonline The whole code for this will be in Implementer-interface repo. We already have one similar pop-up, while trying to edit the published form.

 ![43%20PM](https://talk.openmrs.org/uploads/default/original/2X/f/f580e03436a7f7386b98fb68a533fbe1a0f9ff1e.png)

We have took reference from the above pop-up.

---

<div class="post-metadata">

**Author:** ![rubailly](https://talk.openmrs.org/user_avatar/talk.openmrs.org/rubailly/32/550_2.png) [@rubailly](https://talk.openmrs.org/u/rubailly)\
**Post date:** [October 31, 2022, 5:59pm UTC](https://talk.openmrs.org/t/implementer-interface-doesnt-show-any-warning-if-user-doesnt-save-the-form/22670/5 "2022-10-31T17:59:16Z")

</div>

@angshuonline @binduak @gsluthra Was this ever implemented? If yes, can we extend it to other modules as well? We have been receiving for example suggestions from users saying they need to see a similar popup/ warning in the clinical if they navigate away from an observation form without submitting the content. Would it be possible to implement this feature into the clinical module?

---

<div class="post-metadata">

**Author:** ![akhilmalhotra](https://talk.openmrs.org/user_avatar/talk.openmrs.org/akhilmalhotra/32/20128_2.png) [@akhilmalhotra](https://talk.openmrs.org/u/akhilmalhotra)\
**Post date:** [October 31, 2022, 6:12pm UTC](https://talk.openmrs.org/t/implementer-interface-doesnt-show-any-warning-if-user-doesnt-save-the-form/22670/6 "2022-10-31T18:12:42Z")

</div>

It wasn’t implemented. There is an open ticket for exactly your requirement. [[BAH-2359] - Bahmni - JIRA](https://bahmni.atlassian.net/browse/BAH-2359)

---

<div class="post-metadata">

**Author:** ![rubailly](https://talk.openmrs.org/user_avatar/talk.openmrs.org/rubailly/32/550_2.png) [@rubailly](https://talk.openmrs.org/u/rubailly)\
**Post date:** [October 31, 2022, 6:30pm UTC](https://talk.openmrs.org/t/implementer-interface-doesnt-show-any-warning-if-user-doesnt-save-the-form/22670/7 "2022-10-31T18:30:03Z")

</div>

Thanks @akhilmalhotra ! I’ll followup on the ticket.
