add new validator function -> validate-allowed-fields