🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 29, 2026

How to Add Floating Labels to Gravity Forms (Outlined, Filled and Underline Styles)

GravityExtra
How to Add Floating Labels to Gravity Forms (Outlined, Filled and Underline Styles)

Look at the sign-up and checkout forms of the apps you use every day and you will notice the same pattern: the label sits inside the field, and when you click in it glides up out of the way. It is called a floating label, and it has become the default look of modern forms because it solves two problems at once. Forms look shorter and calmer, and visitors never lose sight of what a field is for. The Gravity Forms Floating Labels add-on brings that pattern to your Gravity Forms without writing CSS or JavaScript.

This tutorial explains why floating labels work, how to switch them on for a whole form or a single field, how to choose between the Outlined, Filled and Underline styles, how placeholders and drop downs behave, and how to check the result on multi-page, conditional and AJAX forms.

Why labels above every field make forms feel long

A classic form stacks a label on top of every input. That is clear, but it doubles the number of lines a visitor has to scan, and on a phone a ten-field form quickly turns into a long scroll. Many site owners try to fix this by dropping the labels and using placeholder text instead. The form looks lighter, but the placeholder disappears the moment someone starts typing. Visitors who pause halfway, or come back to check an answer before submitting, are left looking at a column of filled boxes with no idea which was which. Screen reader users and people using autofill are hit even harder.

Floating labels keep the light look of a placeholder-only form and keep the label. At rest, the label sits inside the empty field like a placeholder. As soon as the visitor clicks in, or the field has a value, the label moves up and shrinks, so it stays readable above the answer. Nothing disappears, nothing overlaps, and the form uses roughly one line per field instead of two.

What the add-on does

  • Places each supported field’s label inside the field, lined up with where the text starts.
  • Floats the label up when the visitor focuses the field or the field has a value, and drops it back when the field is cleared.
  • Offers three styles: Outlined, Filled and Underline, with an accent colour per form.
  • Works on single line text, email, phone, number, website, date picker, drop down and paragraph text fields.
  • Floats the sub-labels of Name, Address, Email confirmation and Password confirmation fields inside each input.
  • Handles placeholders, default values, browser autofill and values set by the date picker.
  • Keeps working on multi-page forms, conditional logic, AJAX forms and after validation errors.
  • Keeps the real label element, supports right-to-left languages and respects reduced motion.

Step 1: install the add-on and activate the licence

Install and activate the add-on like any WordPress plugin, then open Forms → Settings → Floating Labels and enter your licence key. The add-on needs Gravity Forms 2.9 or newer. Until the licence is active your forms keep their usual labels, so you can install it on a live site and switch forms over one at a time.

Step 2: turn on floating labels for a form

Open the form you want to change and go to Settings → Floating Labels. Switch on Float the labels of every supported field on this form. Three more settings decide the look:

  • Style – Outlined, Filled or Underline. We look at each one below.
  • Accent colour – the colour of the floated label and the field line while someone is typing. Use your brand colour, or the colour of your submit button, so the active field is easy to spot.
  • Placeholders – whether a field’s placeholder appears only once its label has floated, or stays visible with the label kept up.

https://gravityextra.com/wp-content/uploads/2026/10/gffl-form-settings.png

Save, then preview the form. Every supported field now shows its label inside the box. Click into a field and watch the label move up; type something, click away, and it stays up so the answer and the label are both visible.

Step 3: choose a style

Outlined is the most familiar version. Each field keeps its border, the resting label sits inside, and the floated label sits on the top border with a small gap cut out behind it. It fits almost any site and works well on white or light backgrounds.

https://gravityextra.com/wp-content/uploads/2026/10/gffl-outlined.png

Filled gives each field a soft shaded background and a coloured line along the bottom. The floated label stays inside the box, at the top. This style feels at home in app-like designs and on pages where a bordered box would look heavy.

Underline removes the box and keeps a single line under the text. The floated label rises above the line. It suits minimal designs, short newsletter or contact forms and dark-on-light layouts with a lot of white space.

https://gravityextra.com/wp-content/uploads/2026/10/gffl-filled.png

All three styles use the same accent colour while a field is active, and the same red when a field fails validation, so errors stand out without extra boxes or icons.

Step 4: adjust single fields

Sometimes one field needs to behave differently. Maybe a long consent question reads better with its label above, or a single search-style field should use the Underline style while the rest of the form is Outlined. Select the field in the form editor and open its Appearance tab. Under Floating label you can set Float this label to follow the form, to always on or to off, and pick a style just for that field.

https://gravityextra.com/wp-content/uploads/2026/10/gffl-field-settings.png

The Always on option also lets you use floating labels on a few fields of a form without switching the whole form over.

Placeholders and drop downs

Placeholders and floating labels need a small rule so they never sit on top of each other. With the recommended setting, a field’s placeholder is hidden while the label rests inside the box and appears as soon as the label floats. That way a placeholder such as “e.g. Harbor Studio” still gives a hint, but only when the visitor is about to type. If you prefer placeholders to be visible all the time, choose the second option: labels of fields that have a placeholder then stay floated, and the placeholder sits below them.

Drop downs follow the same idea. A drop down with a placeholder option, such as “Choose a budget”, shows the label inside the box until a choice is made. A drop down without a placeholder already has its first choice selected, so its label is floated from the start and the chosen option is always readable.

Name, Address and confirmation fields

Complex fields are where many floating label tricks fall apart, because one field holds several inputs. The add-on handles them input by input. In a Name field, First and Last each float inside their own box. In an Address field, Street Address, City, State, ZIP and Country all float separately, including the Country drop down. Email and Password fields with a confirmation input float both sub-labels. The main label of the group, for example “Name” or “Address”, stays above the inputs as a heading, which keeps the group easy to scan.

Testing multi-page, conditional and AJAX forms

Real forms are rarely a single static page, so it is worth checking a few situations after you switch floating labels on:

  • Multi-page forms. Go to the second page. Its fields are set up as soon as the page is shown, and the values from the first page stay intact.
  • Conditional logic. Trigger a rule that reveals a hidden field. Its label appears in the right place the moment the field becomes visible.
  • Validation errors. Submit the form with a required field empty. The form comes back with your typed answers in place, their labels floated, and the label of the empty field in red.
  • AJAX forms. On a form embedded with AJAX enabled, the re-rendered form after an error or a successful submission is set up again without a page reload.
  • Autofill and date pickers. Let the browser fill in your name and email, or pick a date from the calendar. The labels float as if you had typed the values.

Accessibility and right-to-left sites

A floating label is still a real label. The add-on keeps the label element Gravity Forms creates and its link to the input, so screen readers announce the same field names as before, clicking the label still focuses the field, and keyboard users see labels float when they tab through the form. Placeholders never replace labels. On right-to-left sites, labels sit at the right where the text starts and float from there. Visitors who have reduced motion turned on in their device settings see the label move instantly instead of sliding. If scripts are blocked, the form simply shows its normal labels.

Tips for good-looking floating label forms

  • Keep labels short. A floated label shrinks, so two or three words read better than a full sentence; move longer guidance into the field description.
  • Use the accent colour that matches your submit button, so the active field and the next step feel connected.
  • Prefer the Outlined style on white backgrounds and the Filled style on coloured or image backgrounds.
  • Leave checkboxes, radio buttons and consent questions with their normal labels; the add-on already does this for you.
  • If you send entries on to other tools, for example through an automation service such as Zapier or Make, nothing changes: the add-on only affects how the form looks, never the submitted values.

Getting started

Install and activate the add-on, activate your licence key under Forms → Settings → Floating Labels, then switch on floating labels under a form’s Settings → Floating Labels, pick a style and an accent colour, and preview the form. Your forms will look shorter and more modern, and every field will keep a clear, accessible label on every page, re-render and device. The add-on works with Gravity Forms 2.9 and newer. Read the full documentation on the Gravity Forms Floating Labels documentation page, or see pricing and features on the Gravity Forms Floating Labels add-on page.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr