【发布时间】:2014-02-11 22:56:39
【问题描述】:
我不知道这个验证是从哪里来的。我相信它来自BootStrap。这对我来说都很好。
但我的输入类型不是email,它只是username。我只想显示相同的验证弹出窗口,如password 验证。喜欢Please fill out this field。
那么What input type I have to use for username textbox to get show same validation popup?
<input type="email" class="form-control" placeholder="User name" required="" autofocus="">
<input type="password" class="form-control" placeholder="Password" required="">
<label class="checkbox">
<input type="checkbox" value="remember-me"> Remember me
</label>
<button class="btn btn-lg btn-primary btn-block" type="submit">Login</button>
【问题讨论】:
-
我现在感觉真的老了:(
<crochety-old-man-voice>回到我的时代,我们只有十种输入类型!</crochety-old-man-voice>
标签: jquery jquery-ui twitter-bootstrap