External form not always loading

Highlighted
New Member

I have two forms that we our using in a pop-up/modal via Optinmonster. We are noticing that the embedded form doesn’t load in our pop-up quite often. This is happening on 2 different url’s with different forms.

Alternative Apparel

Clothing, apparel, & accessories at Alternative Apparel for men and women’s clothing and apparel in soft eco-fabrics, organic and pima cotton. Free shipping on entire collection shop now for tops, t-shirts, hoodies, henleys, dresses, sweats,...


Form names:
B2B_Imprint_HP_Email_SignUp_Form
B2B_Wholesale_HP_Email_SignUp_Form

I’m using the target attribute to get the form to display in the desired location of the HTML.

My guess is the form calling process is dropping for some reason, any ideas on why the form doesn’t always load with the pop-up?

Thanks

Reply
0 Upvotes
2 Replies 2
Community Manager

Hi @Pellis

Is the hbspt.forms.create() call for the form being made before the HTML for the popup is added to the page? Or is the HTML of the popup changing before it’s being displayed? The form would only be rendered into the target element when that function call is made, so if the element doesn’t exist yet, or if the contents of the element are modified, the form would not be rendered again on those changes.

Reply
0 Upvotes
New Member

Hi @dadams that makes sense, I’ll give that a shot. Thanks

Reply
0 Upvotes