Sometimes in applications forms are submitted without any changes being made. This can of course be a waste of bandwidth and processing time on the server. This very simple MooTools class checks the values in a form to see if its values have been modified and returns a result of true or false.

DirtyForm Class

The class is located on here on github.

Examples

All form fields in a single form with two fields excluded.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Powered by WP Hashcash