Quantcast
Channel: Using Optimizely Platforms
Viewing all articles
Browse latest Browse all 8020

$$epiforms is not defined when using Form in footer

$
0
0
@* ... *@ @Html.Raw(Html.RequiredClientResources("Header"))

I get this javascript error when adding a EPiServer Forms form to the footer. I guess it has to do with something not loading in the correct order but I can not figure it out.

My Layout.cshtml has the following simplified layout:


    @* ... *@ 
    @Html.Raw(Html.RequiredClientResources("Header")) 
    @Html.RenderEPiServerQuickNavigator();
    @Html.FullRefreshPropertiesMetaData();
    @Html.RenderPartial("Header", Model); 
    @RenderBody();
    @Html.RenderPartial("Footer", Model); 
    @Html.Raw(Html.RequiredClientResources("Footer"));


And the footer is containing a regular ContentArea with a Form in it.

Is it some obvious error here? Or how should the correct loading order be?


Viewing all articles
Browse latest Browse all 8020

Trending Articles