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.

Label/Description Form Styling

  1. Hi, I have some forms in a sidebar and wanted to just have a description in the form box that can be typed over...

    Say: First Name

    In the field box so dont want to show the label... to make form more compact...

    Im sure this used to be able to be done in form styling but just gives label placement now..top left right, and description above and below...

    So cant see how I just have a description in the box field?

    example of what I have http://aronagh.com/life-coach/

    in side bar, want say on Newsletter form to just have descriptions IN the boxes...

    Many thanks, in advance :)

    Posted 11 years ago on Tuesday May 7, 2013 | Permalink
  2. Richard Vav
    Administrator

    What your describing sounds like the HTML5 placeholder attribute that disappears when the user starts typing in the field, it can be accomplished by either using a plugin

    http://wordpress.org/extend/plugins/gravity-forms-placeholders/
    http://wordpress.org/extend/plugins/gravity-forms-auto-placeholders/

    or if you only have a few fields a bit of jQuery would accomplish it as well, the following example would add the placeholder Name to field 1 of form 5

    <script>
    jQuery(document).ready(function($){
         $('#input_5_1').attr('placeholder','Name');
    });
    </script>

    Regards,
    Richard
    --
    Just another member of the community helping out where I can

    Posted 11 years ago on Tuesday May 7, 2013 | Permalink
  3. Thats what I needed, Many thanks

    Paul

    Posted 11 years ago on Tuesday May 7, 2013 | Permalink
  4. Glad that worked for you Paul and thanks Richard.

    Posted 11 years ago on Tuesday May 7, 2013 | Permalink

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