# Save custom data form in hubspot db

**URL:** <https://community.hubspot.com/t/save-custom-data-form-in-hubspot-db/11257>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [August 22, 2018, 12:29pm UTC](https://community.hubspot.com/t/save-custom-data-form-in-hubspot-db/11257 "2018-08-22T12:29:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [August 22, 2018, 12:29pm UTC](https://community.hubspot.com/t/save-custom-data-form-in-hubspot-db/11257/1 "2018-08-22T12:29:22Z")

</div>

Hello to everyone,

in a html page of hubspot I have a custom form in html and I get the result in javascritp. is it possible to save the result of the form in hubspot db when I submit? I went to see the api ([this link](https://developers.hubspot.com/docs/methods/hubdb/v2/create_row)) but I did not understand how and where to implement them. Is it possible to have an example?

Thanks

---

<div class="post-metadata">

**Author:** ![Derek\_Gervais](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/derek_gervais/32/17429_2.png) [@Derek\_Gervais](https://community.hubspot.com/u/Derek_Gervais)\
**Post date:** [August 28, 2018, 3:39pm UTC](https://community.hubspot.com/t/save-custom-data-form-in-hubspot-db/11257/2 "2018-08-28T15:39:11Z")

</div>

Hi [@Francescoo](https://community.hubspot.com/u/francescoo),

HubDB is intended for public facing website content; it should not be used to store contact information. You’ll want to use the Forms API to submit this form data to HubSpot:

![]() [developers.hubspot.com](https://developers.hubspot.com/docs/methods/forms/submit_form_ajax)

### [Submit data for a form](https://developers.hubspot.com/docs/methods/forms/submit_form_ajax)

Send form submission data to HubSpot. This endpoint supports cross-origin AJAX (CORS) requests, allowing you to submit form data directly to HubSpot client-side using JavaScript.
