PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Form adding tags - spoiling styling.

  1. alanrhannah
    Member

    Hi there -

    I am using gravity forms to create an online application. When I add the code into my frame work (below) - it adds tags erroneously - any ideas how to fix?

    PHP -

    <?php get_header(); ?>
    <div class="row">
    	<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
    	<div class="grid_12">
    		<h1><?php the_title();?></h1>
    	</div>
    </div>
    <div class="row">
    	<div class="grid_8">
    		 <?php echo do_shortcode( '[gravityform id="2" name="Apply Online"]' ) ?>
    	</div>
    	<div class="grid_4">
    		<?php the_content(); ?>
    	</div>
    	<?php endwhile; ?>
    </div>
    <?php get_footer(); ?>

    HTML Output -

    <div class="row">
       <div class="grid_8">
          <div id="gform_wrapper_2" class="gf_browser_gecko gform_wrapper app_form_wrapper" style="">
          <script type="text/javascript">
          <script type="text/javascript">
          </em><em> </em> // ERROR HERE
      </div>
       <em>
          <div class="grid_4">
       </em> // ERROR WRAPPING GRID IN EM TAGS
         </div>
        <em> // ERROR WRAPPING ROW IN EM TAGS
    <div class="row">
    <div id="ucf_footer">
    <link id="gforms_css-css" media="all" type="text/css" href="http://localhost/UCF_Launch/wp-content/plugins/gravityforms/css/forms.css?ver=1.6.6" rel="stylesheet">
    <script src="http://localhost/UCF_Launch/wp-includes/js/admin-bar.js?ver=3.4.1" type="text/javascript">
    <script src="http://localhost/UCF_Launch/wp-content/plugins/gravityforms/js/gravityforms.js?ver=1.6.6" type="text/javascript">
    <script src="http://localhost/UCF_Launch/wp-content/plugins/gravityforms/js/conditional_logic.js?ver=1.6.6" type="text/javascript">
    <script src="http://localhost/UCF_Launch/wp-content/plugins/gravityforms/js/jquery-ui/ui.datepicker.js?ver=1.6.6" type="text/javascript">
    <script src="http://localhost/UCF_Launch/wp-content/plugins/gravityforms/js/datepicker.js?ver=1.6.6" type="text/javascript">
    <script src="http://localhost/UCF_Launch/wp-content/plugins/gravityforms/js/jquery.json-1.3.js?ver=1.6.6" type="text/javascript">
    <script src="http://localhost/UCF_Launch/wp-content/plugins/gravityforms/js/jquery.textareaCounter.plugin.js?ver=1.6.6" type="text/javascript">
    <script src="http://localhost/UCF_Launch/wp-content/themes/ucf/libs/js/misc/grayscale_img.js?ver=3.4.1" type="text/javascript">
    <script src="http://localhost/UCF_Launch/wp-content/themes/ucf/libs/js/permissionbar/permissionbar-latest.js?ver=3.4.1" type="text/javascript">
    <script type="text/javascript">
    <div id="wpadminbar" class="" role="navigation">
    </em>

    Posted 12 years ago on Tuesday September 4, 2012 | Permalink
  2. alanrhannah
    Member

    Resolved. There was a stray EM TAG in a HTML block.

    Posted 12 years ago on Tuesday September 4, 2012 | Permalink
  3. Glad you got it sorted, thanks for letting us know!

    Posted 12 years ago on Tuesday September 4, 2012 | Permalink

This topic has been resolved and has been closed to new replies.