[JENKINS-13742] Errors in field validations

Please incorporate these changes as there are currently many UI errors related to field validations. All tests are passing with these changes.

There is one commit by ndeloof in this pull request that is already reflected in the original repository, not sure how it got added as a separate commit. Hopefully it will just be ignored on the pull, but let me know if I need to remove it.