Check if web form values has changed. Best practice

Posted by Andrew Florko on Stack Overflow See other posts from Stack Overflow or by Andrew Florko
Published on 2010-05-17T09:18:12Z Indexed on 2010/05/17 9:20 UTC
Read the original article Hit count: 212

Hello everybody,

I have multi-step form and user can navigate to any page to modify or add information. There is a menu that shows progress and steps user completed. This menu allows to navigate to any step user completed or going to complete.

Inspite of big button "Save and Continue" some users click this menu to navigate further. I have to check - if values have changed in a form and ask: "Save changes? Yes/No".

What is the best way (with minimum code) you suggest me to check if form values have changed.

Thank you in advance!

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html