Form validation infrastructure.

@author Howard Lewis Ship hlship@apache.org