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.

How to add a new "div and ul" before li class="gsection"

  1. Hi Gravity Forms support and team,

    How do I go from:

    <div class='gform_wrapper' style='display:none'>
    <form method='post'>
    	<div class='gform_body'>
    		<ul>
    			<li>...</li>
    			<li class="gsection"></li>
    		</ul>
    	</div>
    	<div class='gform_footer'> <input type="submit" /></div>
    </form>
    </div>

    to

    <div class='gform_wrapper' style='display:none'>
    <form method='post'>
    	<div class='gform_body'>
    		<ul>
    			<li>...</li>
    
    		<!-- add -->
    		</ul>
    		<div class='wrap_gsection_gform_footer'>
    			<div class='wrap_gsection_null1'>
    			<ul class='wrap_gsection_null2'>
    		<!-- /add -->
    
    				<li class="gsection"></li>
    			</ul>
    			</div>
    			<div class='gform_footer'> <input type="submit" /></div>
    
    		<!-- add -->
    		</div>
    		<!-- /add -->
    
    </form>
    </div>

    I'm thinking if are there any available filters or hooks to do the trick. Would there be any that could help get this to work?

    Thanks for reading and replying! Help appreciated. :)

    Daniel

    --

    Note: I've tried HTML blocks as the quick and easy way out, but needed to wrap the footer together with the section (so the submit button will be together in a div with the new gsection).

    Reference:

    http://www.gravityhelp.com/forums/topic/remove-css-and-ul-li-elements

    Posted 11 years ago on Wednesday September 19, 2012 | Permalink
  2. Glad you got it sorted out, thanks for letting us know.

    Posted 11 years ago on Wednesday September 19, 2012 | Permalink

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