Check if the elements of a form have changed.