Hi @Kavya_H_N, I hope that you are well!
Thanks for commenting on this HubSpot Community topic!
At the moment, the global form events API for the new forms editor does not suggest a method to programmatically trigger field-level validation (the blur/change/click validation).
I’ve noticed a similar idea already present in our Ideas Forum: Trigger mandatory form field validation upon Submit . To contribute, you can upvote the existing idea and share more details about your specific use case in the comments.
That said, here are some options for you:
-
You could listen to hs-form-event:on-submission:failed, this fires when client-side validation fails on submit, which you can use to react to validation errors.
-
You could programmatically click the submit button, this triggers HubSpot’s built-in client-side validation pass.
I hope this helps in the meantime!
Have a lovely day!
Bérangère
This post was created with the assistance of AI tools