# Form not loading at all on ajax call

**URL:** <https://forum.mautic.org/t/form-not-loading-at-all-on-ajax-call/27442>\
**Category:** Product Support\
**Created:** [March 21, 2023, 1:46pm UTC](https://forum.mautic.org/t/form-not-loading-at-all-on-ajax-call/27442 "2023-03-21T13:46:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yochay11](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yochay11/32/7301_2.png) [@yochay11](https://forum.mautic.org/u/yochay11)\
**Post date:** [March 21, 2023, 1:46pm UTC](https://forum.mautic.org/t/form-not-loading-at-all-on-ajax-call/27442/1 "2023-03-21T13:46:00Z")

</div>

Hi there,  
I found i small problem on the automatic form loading.

I have a popup on my website that i am loading with the form automatic code (something like this):

```auto
<script type="text/javascript" src="//domain.com/form/generate.js?id=8"></script>

```

It seems that as long i load the code like that it’s not working and i can’t load the form.  
The other option i have is using iframe but then it’s harder to edit the css.

At the time i load the form manually but i rather load the dynamic code.

Does anyone have an idea on how to make it work?  
Thanks
