Code Snippet Preview



Bootstrap 4 provides support for HTML5 form validation. The javascript below checks if the form is valid and then adds the necessary .was-validated class to display custom validation messages. Read the official documentation for more detail.

Related resources

  • WordPress vs HubSpot CMS Review
  • 25+ Questions to Ask Before Redesigning Your Business Website
  • 5 Things A Business Should Consider Before a Website Redesign
  • How to Quickly Create a Website for B2B Company
  • HubSpot Custom Modules Marketplace
  • Buy HubSpot Modules in Bulk