Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sealucky7/f779b587acf9daa2c6f32008daa9febc to your computer and use it in GitHub Desktop.
Save sealucky7/f779b587acf9daa2c6f32008daa9febc to your computer and use it in GitHub Desktop.
<form>
<input type="text" name="company_name" oninvalid="this.setCustomValidity('Your error message')" required />
<input type="submit">
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment