OpenERP Email validation

前端 未结 4 1962
萌比男神i
萌比男神i 2021-01-25 13:26

Please let me know , how to prevent record getting saved when user enters invalid email address. Right now system displays warning message for invalid email address which is a

4条回答
  •  感情败类
    2021-01-25 13:43

    This is more easy

    from validate_email import validate_email
    is_valid = validate_email('email@is.valid')
    

提交回复
热议问题