<form action="" novalidate>
    <input pattern="[A-Z]+">
    <button type="submit">submit</button>
</form>