diff --git a/components/Pages.php b/components/Pages.php
index <HASH>..<HASH> 100644
--- a/components/Pages.php
+++ b/components/Pages.php
@@ -594,8 +594,10 @@ class Pods_Pages extends PodsComponent {
                 // templates not found in theme, default output
                 do_action( 'pods_page_default', $template, self::$exists );
 
+                $content = pods_content(true); // Process content of the page before header to get all required javascript.
+
                 get_header();
-                pods_content();
+                echo $content;
                 get_sidebar();
                 get_footer();
             }
Process pods_content before the header, to get all required scripts that are needed by default template to include. Fixes form problems on Pods Pages where jQuery is loaded in footer.