# Hubspot Form Validation Trigger

**URL:** <https://community.hubspot.com/t/hubspot-form-validation-trigger/130672>\
**Category:** CMS Development\
**Tags:** javascript, professional\
**Created:** [April 28, 2025, 9:00am UTC](https://community.hubspot.com/t/hubspot-form-validation-trigger/130672 "2025-04-28T09:00:23Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Hutfuchs](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hutfuchs/32/204411_2.png) [@Hutfuchs](https://community.hubspot.com/u/Hutfuchs)\
**Post date:** [May 12, 2025, 5:05am UTC](https://community.hubspot.com/t/hubspot-form-validation-trigger/130672/7 "2025-05-12T05:05:04Z")

</div>

I have solved it for now by checking initially and on input whether all required form fields are filled and no `hs_error` elements are present (for the current step).  
If necessary, the “Next” button is blocked.

It works for now, but it would be better if HubSpot provided some events or a built-in solution for this in its new forms.

---

_[View the full topic](https://community.hubspot.com/t/hubspot-form-validation-trigger/130672)._
