url validation
parent
8cabe5c7b6
commit
d2a411d94c
|
|
@ -1,4 +1,4 @@
|
|||
<form method="POST" action="/create">
|
||||
<input type="text" name="url" placeholder="http://www.example.com/" style="padding: 0.5rem;" />
|
||||
<input type="url" name="url" pattern="https?://.+" required placeholder="http://www.example.com/" style="padding: 0.5rem;" />
|
||||
<input type="submit" value="Submit" style="padding: 0.5rem;" />
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Reference in New Issue