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.

Linear Fields

  1. Is there anyway to alter the field code for the advanced fields password and name? The way they display now is a bit clunky.. for instance:

    Name*
    [First Name Field] [Last Name Field]
    first last

    Is much better displayed as:

    First Name: [First Name Field]
    Last Name: [Last Name Field]

    I tried using my own fields to accomplish this but I needed "Full Name" To send to Buddypress. Also, for some reason, my Last Name field was not populating the Wordpress Last Name entry.

    Thanks!

    EJ

    Posted 11 years ago on Wednesday May 29, 2013 | Permalink
  2. Richard Vav
    Administrator

    Ej,

    You can accomplish this using CSS, try adding the following towards the bottom of your theme's stylesheet or wherever you are instructed to place custom CSS

    .gform_wrapper .ginput_complex .ginput_right {
    clear: left;
    float: left;
    }

    Regards,
    Richard

    Posted 11 years ago on Wednesday May 29, 2013 | Permalink
  3. It's less about the style and more about

    1: editing the label text ('first' and 'last')
    2: getting rid of the global (for lack of a better term) label Name (this part is easy but #3 makes it more difficult.)
    3: adding the * indicator to each separate field as opposed to just the global label Name

    and doing all of this without some javascript hack.

    I would rather not edit the core plugin files but will do so if need be.

    Posted 11 years ago on Wednesday May 29, 2013 | Permalink
  4. You can edit those sub labels via two filters:

    http://www.gravityhelp.com/documentation/page/Gform_name_first
    http://www.gravityhelp.com/documentation/page/Gform_name_last

    So in those you can include your asterisk as well.

    Posted 11 years ago on Wednesday May 29, 2013 | Permalink