HTML5 Email Input Pattern Attribute

前端 未结 17 1027
时光取名叫无心
时光取名叫无心 2020-11-30 20:09

I’m trying to make a html5 form that contains one email input, one check box input, and one submit input. I\'m trying to use the pattern attribute for the email input but I

17条回答
  •  甜味超标
    2020-11-30 20:46

    I had this exact problem with HTML5s email input, using Alwin Keslers answer above I added the regex to the HTML5 email input so the user must have .something at the end.

    
    

提交回复
热议问题