How do I get the alert ""Are you sure you want to leave" to appear?

I have an Interface Rule that is displayed inside a Record View (i.e.: Summary). It consists of editable textfields, dropdown lists, and a Submit button that activates a!startProcess(). All of these items are grouped inside a a!formLayout().

When I make changes to the editable fields and click on another link, the alert ""Are you sure you want to leave" does not appear. Is there any way to get this to happen?

I noticed that the alert ""Are you sure you want to leave" appears for interfaces that are part of a User Input Task node in a process. However, I do not wish to use a!startProcessLink() as I want to stay on the same page and preserve the values of my local variables.

  Discussion posts and replies are publicly visible