# Automatic Form HTML showing up at bottom of page only

**URL:** https://forum.mautic.org/t/automatic-form-html-showing-up-at-bottom-of-page-only/30350
**Category:** Product Support
**Tags:** mautic-4
**Created:** [December 30, 2023, 10:48am UTC](https://forum.mautic.org/t/automatic-form-html-showing-up-at-bottom-of-page-only/30350 "2023-12-30T10:48:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![linmar](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/linmar/32/11115_2.png) [@linmar](https://forum.mautic.org/u/linmar)
#### Post date: [December 30, 2023, 10:48am UTC](https://forum.mautic.org/t/automatic-form-html-showing-up-at-bottom-of-page-only/30350/1 "2023-12-30T10:48:38Z")

</div>

**Your software**  
My Mautic version is: 4.4.10

**Your problem**  
My problem is:

I’m trying to include a form in my webpage (next.js/vercel) like this:

```auto
<Script type="text/javascript" src="https://xxx/form/generate.js?id=2" id="mau"></Script>

```

But the form is only showing up at the bottom of the page and not where I insert the “Script”. How can I control where the form is placed?

These errors are showing in the log:  
n/a

Steps I have tried to fix the problem:  
n/a

---

<div class="post-metadata">

### Author: ![linmar](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/linmar/32/11115_2.png) [@linmar](https://forum.mautic.org/u/linmar)
#### Post date: [December 30, 2023, 1:56pm UTC](https://forum.mautic.org/t/automatic-form-html-showing-up-at-bottom-of-page-only/30350/2 "2023-12-30T13:56:54Z")

</div>

I am trying this code:

```auto
<div>
          <h1>here</h1>
          <Script type="text/javascript" src="https://xxx/form/generate.js?id=2" id="mau" />
          <h1>there</h1>
        </div>

```

and instead of showing between “here” and “there” it shows at the bottom of the page.
