Re: Warn that data on page modified mechanism

2008-10-09 Thread Martijn Dashorst
if you don't wrap your whole page in a form, and use submitlinks everywhere, you'll loose user input. Forms need to be submitted to the server to retain their input. Much better IMO is a client side javascript that triggers a confirmation box when the user has modified some fields, being called

Warn that data on page modified mechanism

2008-10-08 Thread Arie Fishler
Hi, I would like to consult on implementing a generic mechanism for checking whether some data on a page modified before leaving that page. The use case is: - Page has some form fields or other controls - User has entered some data to the form - Before submitting the form user clicked on a link