# Issue with forms on landing page

**URL:** <https://forum.mautic.org/t/issue-with-forms-on-landing-page/16800>\
**Category:** Product Support\
**Created:** [October 30, 2020, 11:05am UTC](https://forum.mautic.org/t/issue-with-forms-on-landing-page/16800 "2020-10-30T11:05:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yourdigitalgroup](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yourdigitalgroup/32/1145_2.png) [@yourdigitalgroup](https://forum.mautic.org/u/yourdigitalgroup)\
**Post date:** [October 30, 2020, 11:05am UTC](https://forum.mautic.org/t/issue-with-forms-on-landing-page/16800/1 "2020-10-30T11:05:00Z")

</div>

**Your software**  
My Mautic version is: 3.1.2  
My PHP version is: 7.3.23  
My Database type and version is: MariaDB v10.3.17 |

**Your problem**  
My problem is: when using the js automatic form placement on a landing page, the form shows twice and one instance pushes the landing page down. Please see [https://marketing.comechsupplies.co.uk/services-enquiry2](https://marketing.comechsupplies.co.uk/services-enquiry2)

Also when using manual placement, on submission, no matter which setting the form is set to (stay on page, redirect, show message) the form processes and then ends up on a blank page. Please see [https://marketing.comechsupplies.co.uk/services-enquiry](https://marketing.comechsupplies.co.uk/services-enquiry)

The blank page URL is [https://marketing.comechsupplies.co.uk/form/submit?formId=1](https://marketing.comechsupplies.co.uk/form/submit?formId=1)

The form data is submitted and form actions are completed

These errors are showing in the log: no errors show in log and none are generated by the server

Steps I have tried to fix the problem: I’ve deleted the whole software and reinstalled to the same affect.

---

<div class="post-metadata">

**Author:** ![codes9](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/codes9/32/682_2.png) [@codes9](https://forum.mautic.org/u/codes9)\
**Post date:** [October 30, 2020, 12:16pm UTC](https://forum.mautic.org/t/issue-with-forms-on-landing-page/16800/2 "2020-10-30T12:16:25Z")

</div>

Looks like you solved this one at least on one of your links.

Would you mind sharing your solution to help others in the community?

---

<div class="post-metadata">

**Author:** ![yourdigitalgroup](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yourdigitalgroup/32/1145_2.png) [@yourdigitalgroup](https://forum.mautic.org/u/yourdigitalgroup)\
**Post date:** [October 30, 2020, 12:23pm UTC](https://forum.mautic.org/t/issue-with-forms-on-landing-page/16800/3 "2020-10-30T12:23:52Z")

</div>

Hi,

I’m not entirely sure how I fixed it, I just started again, did everything the same, add the form code again using code mode and for some reason it worked this time around

---

<div class="post-metadata">

**Author:** ![codes9](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/codes9/32/682_2.png) [@codes9](https://forum.mautic.org/u/codes9)\
**Post date:** [October 30, 2020, 12:36pm UTC](https://forum.mautic.org/t/issue-with-forms-on-landing-page/16800/4 "2020-10-30T12:36:05Z")

</div>

That’s pretty weird. May have been a cache issue.

I see many users in the forum clearing cache as a first troubleshooting step.

---

<div class="post-metadata">

**Author:** ![yourdigitalgroup](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yourdigitalgroup/32/1145_2.png) [@yourdigitalgroup](https://forum.mautic.org/u/yourdigitalgroup)\
**Post date:** [October 30, 2020, 12:50pm UTC](https://forum.mautic.org/t/issue-with-forms-on-landing-page/16800/5 "2020-10-30T12:50:45Z")

</div>

As a habit having used mautic for years I always clear cache before every save but even with a cleared cache the issue still occurred.

It is very weird when you repeat the process again and the same thing happens.

I can confirm though the double form still comes up with code mode and the auto js form code. I ended up using the manual code to get around that
