collect form info via JS / API?

All,

I’m using a form on my website, but before submitting i first check via JS of the needed fields are filled in.

When all data is filled in, the form is send (to us via email), but the form is not collected in hubspot :disappointed_face:

Is there any way to trigger the collection of a form via JS or the API?

FYI, here the html code of my form:

NaamFout
EmailEmail
TelefoonTelefoon
BedrijfBedrijf
Start met plannen
registratieform-mobile.html">Start met plannen

Hey @Engee - You can find information on setting up a Forms API on the HubSpot Developers Forum https://developers.hubspot.com/docs/methods/forms/forms_overview