# Form not loading correctly on staging server

**URL:** <https://community.hubspot.com/t/form-not-loading-correctly-on-staging-server/1958>\
**Category:** CMS Development\
**Created:** [May 9, 2017, 1:09pm UTC](https://community.hubspot.com/t/form-not-loading-correctly-on-staging-server/1958 "2017-05-09T13:09:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [May 9, 2017, 1:09pm UTC](https://community.hubspot.com/t/form-not-loading-correctly-on-staging-server/1958/1 "2017-05-09T13:09:04Z")

</div>

Hi there,

We’re using a HubSpot form on a blog update which has stated played up.

URL: [https://paul-dev.ipcentrum.com/blog/forth-test-blog-post/](https://paul-dev.ipcentrum.com/blog/forth-test-blog-post/)

If you scroll down around half way down the page a form should slide in from the bottom of the page. This works perfectly on my local dev environment, as seen below…

 ![Screen Shot 2017-05-09 at 14.06.54.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/7/b/7b53860167ae398749684f7112b8828507fe06e5.png)  
Screenshot of the form on my local environment

However on my staging server, the JavaScript is not creating the form. I’ve checked and the JS is loading and there is nothing different between the two environments.

---

<div class="post-metadata">

**Author:** ![stefen](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stefen/32/29274_2.png) [@stefen](https://community.hubspot.com/u/stefen)\
**Post date:** [May 15, 2017, 2:08pm UTC](https://community.hubspot.com/t/form-not-loading-correctly-on-staging-server/1958/2 "2017-05-15T14:08:54Z")

</div>

[@ipcentrum](https://community.hubspot.com/t5/user/viewprofilepage/user-id/8574) sometimes there can be a Content-Security-Policy in use (usually in the .htaccess file) restricting external javascript and/or inline javascript.
