APIs & Integrations

ivodob
Member

Using my form to send a request

SOLVE

Basically, what I got from a colleague was such a script

<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/shell.js"></script>
<script>
  hbspt.forms.create({
	portalId: "1234567",
	formId: "1111-2222-3333-4444"
});
</script>

which loaded a hubspot iframe form. This, however, is not what I would currently enjoy. I would prefer using my already created form and just sending a signal from that to HubSpot. The form has an email field, checkmark (about email etc) & send button.

How can I send the email from my form? (new to HubSpot btw)

0 Upvotes
1 Accepted solution
WendyGoh
Solution
HubSpot Employee
HubSpot Employee

Using my form to send a request

SOLVE

Hi @ivodob,

 

If you'd like to use your current form set up, I'd suggest for you to either use the:

 

1. Form API - Submit data for a form (w/ AJAX Support) or Submit data to a form to submit your form data into HubSpot form. 

 

OR

 

2. You can use the non-HubSpot form - Use non-HubSpot forms to collect non-HubSpot form submission in HubSpot. 

View solution in original post

2 Replies 2
WendyGoh
Solution
HubSpot Employee
HubSpot Employee

Using my form to send a request

SOLVE

Hi @ivodob,

 

If you'd like to use your current form set up, I'd suggest for you to either use the:

 

1. Form API - Submit data for a form (w/ AJAX Support) or Submit data to a form to submit your form data into HubSpot form. 

 

OR

 

2. You can use the non-HubSpot form - Use non-HubSpot forms to collect non-HubSpot form submission in HubSpot. 

ivodob
Member

Using my form to send a request

SOLVE

Worked, thanks.

0 Upvotes