I have a php form with several text fields which retrieve the data from a selected record in my database. I would like that if the user edits the data in the fields in some way, and tries to leave the page by clicking a link, clicking the back button or refreshing the page, they would be prompted that they have made changes to form and that they must verify if they want to leave the page or not.
Any help is much appreciated.
Any help is much appreciated.
Comment