Prompt to save

Prompt to save

 Hi,


Can anyone guide me as to how I can ensure edited records in a form are submitted?  Ie:  If the form is closed the edit is not saved- I want a pop up to confirm the close without saving or to save the changes or force saving.

Thanks for any help


Colin