operator_name = TextField('operator_name', [Required(),\
#Regexp(allowed_characters, message = message)])
Regexp('A-Za-z',message = 'wrong symbol, try again')])
def validate_operator_name(self, field):
if not field.data:
raise ValidationError("Error!")