【发布时间】:2018-08-12 03:21:33
【问题描述】:
<input type="text" name="username" maxlength="20" pattern="^[a-zA-Z0-9]+[_\.\-]?[a-zA-Z0-9]+" title="Please enter only alphabets or numbers or one of the special characters period(.), underscore(_), hyphen(-) and make sure it starts and ends with an alphabet or a number" required>
此验证消息显示时间很短,因为消息很长,它应该保持很长时间,但它会在几秒钟后消失。
如何管理时长?
【问题讨论】:
标签: html validation input