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.

Request setting to place field descriptions above fields

  1. Placing information about what to enter *after* a field seems backwards.

    Describing what's needed *before* presenting a field for it makes more sense. I actually think that should be the default behavior, or at least configurable.

    I realize there are ways to hack Gravity Forms into reordering things but it would be a great option.

    There is a similar topic on this but it's closed and I'd really want to +1 the idea. :)

    Posted 13 years ago on Monday November 15, 2010 | Permalink
  2. This is already on the feature list. It may make the final 1.5 release or may end up in 1.6. I'm not sure just yet.

    In the mean time, you can use a little bit of jQuery added to your theme header or page template to move the descriptions above the fields. The snippet below assumes you already have jQuery properly enqueued in your theme.

    EDIT: Make sure you place this snippet AFTER where the jQuery library is enqueued.. right before the </ head> tag is a good choice.

    <script type="text/javascript">
    	jQuery(document).ready(function() {
    
    		jQuery('.gfield_description').each(function(i,e){
    		    fielddesc = jQuery('<div>').append(jQuery(e).clone()).remove().html();
    		    jQuery(e).siblings('label.gfield_label').after(fielddesc);
    		    jQuery(e).remove();
    		});
    
    	});
    </script>

    You may have to tweak the description CSS to change the margins, padding a bit. It depends on your theme and your preferences.

    Posted 13 years ago on Monday November 15, 2010 | Permalink
  3. craig.c
    Member

    This is not yet in 1.5 core is it?

    The work-around above is not working for me. I just wanted to check it should work in GF 1.5.rc2?

    Posted 13 years ago on Sunday December 19, 2010 | Permalink
  4. There option hasn't been added to the core yet. It's still on the to-do list, but other more requested features took precedence for this release. I'm sure that this will make one of the subsequent 1.5 point releases in the near future.

    Posted 13 years ago on Sunday December 19, 2010 | Permalink
  5. +1 for this feature

    Posted 13 years ago on Monday December 20, 2010 | Permalink
  6. +1

    Posted 13 years ago on Monday February 21, 2011 | Permalink
  7. +1

    Posted 13 years ago on Tuesday February 22, 2011 | Permalink
  8. +1

    Posted 13 years ago on Tuesday March 15, 2011 | Permalink
  9. Kenguru
    Member

    +1, my customer wants this to his form :).

    Posted 12 years ago on Tuesday May 10, 2011 | Permalink
  10. +1

    Posted 12 years ago on Saturday May 14, 2011 | Permalink

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