I would like to check if the URL the user entered into the input box contains 'xyz' before sumbitting. I am aware this can be done with php after fetching the put, however can this be done in HTML5?
For example, here I put in a random word, and HTML5 tells me this is not a URL.
Can i get it to check if the entered text contains something before submit?
My code
<input type="url" name="tradeurl" placeholder="Steam Trade URL">
<input type="submit" value="Update">