mirror of
https://github.com/minoplhy/chhoto-url.git
synced 2024-11-22 17:26:45 +00:00
new: Added some validation check in client side
This commit is contained in:
parent
13d613093b
commit
d235f1aea7
@ -35,7 +35,7 @@
|
|||||||
<div class=" pure-control-group">
|
<div class=" pure-control-group">
|
||||||
<label for="shortUrl">Short URL (optional)</label>
|
<label for="shortUrl">Short URL (optional)</label>
|
||||||
<input type="text" name="shortUrl" id="shortUrl" placeholder="Only a-z, 0-9, - and _ are allowed"
|
<input type="text" name="shortUrl" id="shortUrl" placeholder="Only a-z, 0-9, - and _ are allowed"
|
||||||
pattern="[A-Za-z0-9_-]+" />
|
pattern="[a-z0-9\-_]+" title="Only a-z, 0-9, - and _ are allowed"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="pure-controls">
|
<div class="pure-controls">
|
||||||
<button class="pure-button pure-button-primary">Shorten!</button>
|
<button class="pure-button pure-button-primary">Shorten!</button>
|
||||||
|
Loading…
Reference in New Issue
Block a user