posted 19 years ago
Hi,
i want to show a popup message box to the user if they make changes to the fields in a form and don't press "Save' button and they press another button(such as Close). The popup box ask if they want to save before processing with their request.
What i have is: use javascript to make a boolean true whenever a field value changes. When a button is pressed(apart from Save), this boolean is checked and if true popup the message box. It works
i was wondering if there is an easier way to do since a few forms with a lot of fields.
thanks
Anil