Issue #3525919 by alexpott, krystalcode: Validate hash using entity constraint instead of form validation