I'm a developper on a webapp that uses hubspot embed script for taking appointments. In this case, I configured hubspot to create an hubspot form to store the users information.
I'm facing a problem here because I would like to get those data without using my own way in javascript.
Is there an official solution to fetch the data from a form after the submit ?
This will allow you allow you to get the submissions for the specified form using the form GUID - This will include the fields in the submissions, the time of the form submission, and the page URL that the form was submitted on.
However, it would be recommended to use a js function with the onSubmit(); event when posting this data to HubSpot, this would allow you to capture the data elsewhere whilst still passing the data to HubSpot.
This will allow you allow you to get the submissions for the specified form using the form GUID - This will include the fields in the submissions, the time of the form submission, and the page URL that the form was submitted on.
However, it would be recommended to use a js function with the onSubmit(); event when posting this data to HubSpot, this would allow you to capture the data elsewhere whilst still passing the data to HubSpot.