APIs & Integrations

Floris_Vidda
Member

Detect changes on embedded form

Hi everyone!

We currently have a subscription form in both HubSpot and our website. We send the data from our form to HubSpot via the API, but we want to have confirmation emails for which we need to enable ReCAPTCHA. But after we enable that, the API call doesn't work anymore (I'm aware this is intended behaviour).

 

To solve this we are going to switch to embed the HubSpot form in our website. The problem is that we currently have the form in a pop-up which closes after a user presses a button on the thank you page. Is it possible to have the same behaviour?

0 Upvotes
1 Reply 1
WendyGoh
HubSpot Employee
HubSpot Employee

Detect changes on embedded form

Hey @Floris_Vidda,

 

I would expect that it would be possible to embed the HubSpot form on a pop up modal. One advise that I'd like to suggest is to set the form as a raw HTML form. So that the form isn't render inside an iframe in which it might get funky when trying to render it on a pop up modal. 

 

Here's how you can set the form as a raw HTML form: Style your embedded form on external pages

0 Upvotes