Hi there, I'm trying to create a plain form page template for my site so that I can IFRAME the form on another domain. However, when I try and use conditional fields, my form disappears. When conditional fields are set the form adds a style display: none to the main wrapper div. If I display the form in preview or from a proper theme page it's fine because it uses wp_head() to create the header code. There are clearly some codes that Gravity Forms missing from my page template. Can you tell me what they are?
<?php
/*
Template Name: plain page
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="MSSmartTagsPreventParsing" content="true" />
<meta http-equiv="Imagetoolbar" content="No" />
<title>Plain Page</title>
<link rel='stylesheet' id='gforms_css-css' href='<?php bloginfo('wpurl'); ?>/wp-content/plugins/gravityforms/css/forms.css?ver=1.6.5' type='text/css' media='all' />
<script type='text/javascript' src='<?php bloginfo('wpurl'); ?>/wp-includes/js/jquery/jquery.js?ver=1.7.2'></script>
<script type='text/javascript' src='<?php bloginfo('wpurl'); ?>/wp-content/plugins/gravityforms/js/gravityforms.js?ver=1.6.5'></script>
<script type='text/javascript' src='<?php bloginfo('wpurl'); ?>/wp-content/plugins/gravityforms/js/conditional_logic.js?ver=1.6.5'></script>
</head>
<body>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php the_content('read more'); ?>
<?php endwhile; endif; ?>
<?php wp_footer(); ?>
</body>
</html>