Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Form value change listener

Lam Le
1 decade ago Apr 14, 2010 2:08pm

Hi all,
I have an issue submitting the form. I have a page with a form on it and I want to add a value change listener for it so that when user leaves the page, if there is any change, it will notify if user wants to save the form or not.
I try form.addListener(new ValueChangeListener(){...}) and it doesnot work (of course).
Any idea?

Kim Leppänen
1 decade ago Apr 15, 2010 5:04am
roland polzer
1 decade ago Mar 22, 2011 9:41am
Marko Grönroos
1 decade ago Mar 23, 2011 3:23pm