Skip to content

Instantly share code, notes, and snippets.

@kartick14
Created July 17, 2018 06:22
Show Gist options
  • Save kartick14/61e3f5afa1426fd998f35be6b2c758a3 to your computer and use it in GitHub Desktop.
Save kartick14/61e3f5afa1426fd998f35be6b2c758a3 to your computer and use it in GitHub Desktop.
How to change the default message of the required field in the popover of form-control in bootstrap?
<input class="form-control" type="email" required="" placeholder="username"
oninvalid="this.setCustomValidity('Please Enter valid email')"
oninput="setCustomValidity('')"></input>
<!-- Ref site: https://stackoverflow.com/questions/24391078/how-to-change-the-default-message-of-the-required-field-in-the-popover-of-form-c/24392931 -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment