|
|
@@ -41,7 +41,7 @@
|
|
|
<input type="text" class="form-control" name="username"
|
|
|
data-bv-message="The username is not valid"
|
|
|
required data-bv-notempty-message="The username is required and cannot be empty"
|
|
|
- pattern="[a-zA-Z0-9_\.]+" data-bv-regexp-message="The username can only consist of alphabetical, number, dot and underscore"
|
|
|
+ pattern="^[a-zA-Z0-9]+$" data-bv-regexp-message="The username can only consist of alphabetical, number, dot and underscore"
|
|
|
data-bv-stringlength="true" data-bv-stringlength-min="6" data-bv-stringlength-max="30" data-bv-stringlength-message="The username must be more than 6 and less than 30 characters long"
|
|
|
data-bv-different="true" data-bv-different-field="password" data-bv-different-message="The username and password cannot be the same as each other"
|
|
|
data-bv-remote="true" data-bv-remote-url="remote.php" data-bv-remote-message="The username is not available"
|