added requiredField validator class (for future use)