Conversation
Lyance
FR
Last activity: 27 Jan 2026 15:15 EST
Do not lose data entered in a case or via modal before exiting (Theme-cosmos - 04-01; pega 24.1.3) - DIRTY
Hi,
I need to enable "dirty" functionality in my application. This should allow me to:
- When I modify a field and then exit the case, get a "dirty pega" message - When I modify the field and exit the browser, get an alert message - When I'm in a case, and I open any type of modal, modify a field in the modal, and then press ESC or X, get a "confirm" alert - When I add a row to a table (without using a modal), get the "dirty" message true - When I add a row to a table via a modal, get the "dirty" message true - When I'm in a modal, if I submit, I should set the case to "dirty" - If my case is "dirty" and I save it, I should lose the "dirty" status - If my case is "dirty" and I submit, I should lose the "dirty" status only if there are no errors
Any ideas on which pega functions to use?
Thanks for your help