I have a text input field:
<input type="text" name="email" size="25" placeholder="Email Address" required/>
Is there a way to format the input field to only allow certain text to be valid?
For example: In that particular text field, the user must input an email address which ends in @hotmail.co.uk
. Any other email domains such as @yahoo.com
will not be valid and therefore will show an error when clicking submit (Will not register the user).