ClearValues clears the forms hidden fields as well. This is particularly problematic since it can clear the forms submit token.
I would think this method should not clear hidden fields.
At the least it should skip the SUBMIT_CHECK button.
CayenneForm and HibernateForm also uses HiddenFields. Calling clearValues on these forms might be problematic too.