JavaScript Trick: After Page Load, serialized your form elements into a global variable. Before Submit, serialize your form elements again and compare it against your previously serialized version.
Rinse and Repeat On Mon, Jan 17, 2011 at 1:12 PM, eugenebalt [via Apache Wicket] < ml-node+3221228-1217690326-65...@n4.nabble.com<ml-node%2b3221228-1217690326-65...@n4.nabble.com> > wrote: > Is there a way in wicket to check if a field has been modified by the user > before submitting the form? > > > ------------------------------ > View message @ > http://apache-wicket.1842946.n4.nabble.com/Check-for-User-Modified-Dirty-Fields-before-Form-Submission-tp3221228p3221228.html > To start a new topic under Apache Wicket, email > ml-node+1842946-398011874-65...@n4.nabble.com<ml-node%2b1842946-398011874-65...@n4.nabble.com> > To unsubscribe from Apache Wicket, click > here<http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1842946&code=amNnYXJjaWFtQGdtYWlsLmNvbXwxODQyOTQ2fDEyNTYxMzc3ODY=>. > > -- Sincerely, JC (http://www.linkedin.com/in/jcgarciam) --Anyone who has never made a mistake has never tried anything new.-- -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Check-for-User-Modified-Dirty-Fields-before-Form-Submission-tp3221228p3221278.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org