@NotNull @Size(min = 2, max = 30)
@NotNull @Email
@Pattern(regexp = "[0-9]{3}-[0-9]{4}")
 field with @Past
Custom constraint @ValidPassword with custom message bundles.
A valid password must contain only alphanumeric chars and at least two digits.
press to submit the form and run the validation