How to include a javascript into a HubSpot form?

I want to include a java-script into a HubSpot form. Any idea how to do that?

Hi @AjeetGupta,

Assuming you are using embedded HubSpot forms you can include Javascript by leveraging embed code callbacks. These are specific event callbacks that allow you to hook into as needed. For instance when the form is submitted. More informaiton can be found here

I hope this helps!

Jack