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

Parents
  • Hi Edmund - you need to think about this the other way around...consider your Record Summary to be a 'Read Only' view of the data you're working with, and start a process as a related action that has a form in a User Input Task where you can edit the data. Then you can include the experience that you're referencing as a Confirmation on the relevant submit button.

Reply
  • Hi Edmund - you need to think about this the other way around...consider your Record Summary to be a 'Read Only' view of the data you're working with, and start a process as a related action that has a form in a User Input Task where you can edit the data. Then you can include the experience that you're referencing as a Confirmation on the relevant submit button.

Children
No Data