🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Field Icons Setup Guide

Updated 11 min read Gravity Forms Fields & Inputs
On this page
  1. What you need
  2. Install and activate
  3. Form settings: automatic icons and the default look
  4. Automatic icons by field type
  5. Side, colour and size
  6. Error colour
  7. Label icons
  8. Submit button icon
  9. Field settings in the form editor
  10. Choose an icon
  11. Use your own image
  12. No icon, or back to automatic
  13. Side, size and colour per field
  14. Name and Address sub-inputs
  15. Label icon
  16. How each field type looks
  17. Phones, right-to-left sites and themes
  18. Validation and errors
  19. AJAX, multi-page forms and the block editor
  20. Accessibility
  21. Licence and updates
  22. Uninstalling
  23. Questions
  24. Does the add-on change what is stored in my entries?
  25. Where do the icons come from?
  26. Can I change the icon colour with my own CSS?
  27. Why does my Date field show no icon?
  28. Will it slow my site down?

The Gravity Forms Field Icons add-on puts icons inside your Gravity Forms inputs: an envelope in the e-mail field, a phone in the phone field, a lock in the password field, a pin in the street address. You can also put an icon before a field label and on the submit button. Icons come from a bundled set of 324 icons or from your own Media Library, and you can switch on automatic icons for a whole form so each field gets a fitting icon by its type. This guide covers installing the add-on, the form settings, the field settings, every field type it supports, how it looks on phones and right-to-left sites, validation, accessibility, licensing and the most common questions.

What you need

You need Gravity Forms 2.9 or newer, WordPress 6.5 or newer and PHP 7.4 or newer. The add-on works with all three ways Gravity Forms can style a form: the Orbital theme, the Gravity Forms theme (the default theme before Orbital) and forms that still use legacy markup. It adds no database tables, no scheduled tasks and no admin page of its own, and it loads nothing from another site: the icons are part of the add-on and are served from your own server.

Install and activate

  • Upload the add-on zip in Plugins → Add New → Upload Plugin and activate it.
  • Go to Forms → Settings → Field Icons, enter your GravityExtra licence key and press Activate License.
  • Open any form. You will find a new Field Icons tab in the form settings and a new Field icon block on the Appearance tab of every field in the form editor.

Nothing changes on your forms until you choose to use icons. A form with no icon settings is printed exactly as Gravity Forms prints it, with no extra markup, no stylesheet and no script. Without an active licence, the add-on adds nothing to any form and the settings ask for the licence key; your icon choices stay saved in the form and come back as soon as the licence is active again.

A club enquiry form with icons inside the inputs: a person in Full name, an envelope in E-mail and its confirmation, a phone in Phone, a globe at the end of Club website, a calendar in Preferred date, a list in Court surface, speech bubbles in the top corner of Message and an orange ticket at the end of Promo code with a star before its label, and a paper plane on the Send enquiry button
Automatic icons by field type on an Orbital form, with an own icon, colour and side on the promo code and an icon on the submit button.

Form settings: automatic icons and the default look

Open a form and go to Settings → Field Icons. These settings apply to the whole form; every field can override them in the form editor.

Automatic icons by field type

Switch on Automatic icons by field type and each supported field gets a fitting icon without any further work:

  • E-mail: an envelope (also on the confirmation input).
  • Phone: a phone.
  • Number: a hash sign.
  • Website: a globe.
  • Date: a calendar.
  • Time: a clock.
  • Drop Down: a list.
  • Paragraph Text: speech bubbles.
  • Password: a lock (also on the confirmation input).
  • Name: a person on first, middle and last name, an ID card on the prefix.
  • Address: a house on the street, a building on the second line and on the city, a map on the state or region, an open envelope on the ZIP or postal code and a globe on the country.
  • Single Line Text: an icon chosen from words in the label. “Name” or “Contact” gives a person, “Company” or “Business” a building, “City” or “Location” a pin, “Subject” or “Title” a speech bubble, “Search” a magnifying glass, “Code”, “Coupon” or “Promo” a ticket, “Price” or “Budget” a coin, “Job” or “Role” a briefcase and “Link” or “URL” a chain link. Any other label gets a pencil.

Fields that have no input to put an icon in, such as checkboxes, radio buttons, file uploads, consent or HTML fields, stay as they are. They can still have a label icon (see below).

Side, colour and size

Icon side sets where the icon sits inside the input: at the start (left on a left-to-right site, right on a right-to-left site) or at the end. Icon colour is a colour picker; the default is a calm slate grey that works on white and light grey inputs. Icon size goes from 14 to 28 pixels; 18 pixels fits the default input height of every Gravity Forms theme.

Error colour

Icon turns the error colour when a field fails validation is on by default. When a visitor sends the form with a required field empty or an invalid value, Gravity Forms marks the field with its own error styles and message, and the icon in that field turns the same error colour. Switch it off to keep the icon in its normal colour.

Label icons

With Label icons set to “Show each field’s icon before its label too”, every field that has an input icon also shows the same icon, small, before its label. Leave it on “Only on fields that have a label icon set” to choose label icons field by field.

Submit button icon

Choose one of 20 icons for the submit button, such as a paper plane, an arrow, a check mark, a lock, a cart or a heart, and whether it goes before or after the button text. The icon takes the text colour of the button, whatever your theme does with buttons. If our Submit Button Customizer add-on already puts an icon on that button, Field Icons leaves the button alone, so the two never add two icons; use the Submit Button Customizer for full control of the button and Field Icons for the inputs.

Field settings in the form editor

Select a field in the form editor and open its Appearance tab. The Field icon block shows the icon the field will have now, with a live preview of a sample input in your chosen side, colour and size.

The Field icon block on a field's Appearance tab: the chosen mobile phone icon, buttons to choose an icon or a Media Library image, a No icon switch, side, size and colour settings, a label icon and a live preview of an input with the icon at the end
Field settings: choose the icon, a Media Library image or no icon, then the side, size and colour, with a live preview.

Choose an icon

Press Choose icon to open the icon picker. It shows all 324 icons in a grid with a search box at the top; type a word and the grid narrows down. The search knows common words as well as icon names, so “mail”, “e-mail” or “letter” find the envelopes, “call” or “mobile” the phones, “password” or “secure” the locks, “address” or “location” the pins, “money” or “price” the coins and “company” or “office” the buildings. Click an icon, or press Enter to take the first match. Escape closes the picker and puts the keyboard focus back on the button, and Tab stays inside the picker while it is open.

The icon picker in the form editor: a search box above a grid of the bundled icons, with the count 324 icons
The icon picker: 324 bundled icons with a search box that also knows common words such as mail, call or password.

Use your own image

Press Media Library image to use an SVG, PNG or WebP image from your Media Library, for example your own brand icon. By default the image is tinted in the icon colour, which works well for single-colour icons; tick Show Media Library images in their own colours for a multi-colour image. Only image types are accepted, and the image is always loaded from your own uploads. Note that WordPress does not allow SVG uploads by default; PNG and WebP always work.

No icon, or back to automatic

Tick No icon on this field to keep one field plain while automatic icons are on for the rest of the form. Reset to automatic removes your own choice so the field follows the form setting again. When automatic icons are off for the form, the block tells you so, and a field only shows an icon when you choose one.

Side, size and colour per field

Each field can have its own Side, Size (12 to 40 pixels) and Colour. Leave them on “Form default” to follow the form settings. A useful pattern is a subtle grey for every field and a brand colour on one field you want to stand out, such as a promo code.

Name and Address sub-inputs

Name and Address fields have several inputs. Their block lists every visible sub-input (first name, last name, street, city, ZIP code, country and so on) with its current icon, a Change button and a “No icon” switch, so the street can have a house, the city a building and the country a globe, or you can leave the second address line plain. An icon chosen for the whole field goes on every sub-input that has no icon of its own. Hidden sub-inputs are skipped.

Label icon

At the bottom of the block, Label icon puts an icon before the field’s label. This works on every field type, including checkboxes, radio buttons, file uploads and sections, so a “Your interests” checkbox list can have a heart before its label even though it has no input icon.

How each field type looks

  • Single Line Text, Number, Website, Phone and E-mail: the icon sits inside the input, centred vertically. The text, the placeholder and the cursor start after the icon, so nothing ever runs under it. The confirmation input of E-mail has the same icon.
  • Drop Down: at the start, the icon sits before the selected text; at the end, it sits just before the arrow, never on top of it.
  • Paragraph Text: the icon sits in the top corner, aligned with the first line, and stays there while the visitor types more lines or resizes the box. Paragraph Text with the rich text editor has no input icon.
  • Date: the icon works with the Date Picker input type. It always sits at the start, because the calendar button of Gravity Forms sits at the end; the two never overlap and the calendar button keeps working. The date drop-down and date field input types have no input icon.
  • Time: the icon goes in the hour input, which grows a little so two digits still fit; minutes and AM / PM stay plain.
  • Password: both the password and the confirmation input get the icon. When the “show password” eye button is on, the icon always sits at the start so it never meets the eye.
  • Phone with the international format: the country flag sits at the start, so the icon always sits at the end.
  • Name and Address: every visible sub-input has its own icon, as described above.

Small and medium inputs keep the width Gravity Forms gives them, with the icon inside. On phones, where Gravity Forms makes inputs full width, the icons follow.

Phones, right-to-left sites and themes

The add-on uses the text direction of the page. On a right-to-left site, such as an Arabic or Hebrew site, a “start” icon sits on the right of the input and the text starts to its left, and an “end” icon sits on the left. Icons that point a way, such as arrows, chevrons and the paper plane, are mirrored so they point in the reading direction.

On narrow screens nothing scrolls sideways: the icons stay inside the inputs and the text keeps its room. The stylesheet is small and only loads on pages with a form that uses icons.

Field Icons follows the input styles of your theme instead of replacing them. The input keeps its border, radius, background, focus ring and height from the Orbital theme, the Gravity Forms theme or your own CSS; the add-on only adds room for the icon and places it.

Validation and errors

When a visitor sends a form with errors, Gravity Forms shows its own error summary, marks the field and writes the message under it. Field Icons keeps all of that unchanged. The input keeps its error border and its accessibility attributes, and with the error colour switch on (the default), the icon in that field turns the error colour too, so the field stands out a little more. When the visitor corrects the value and sends again, the icon is back in its normal colour.

A right-to-left form on a phone after a failed submit: the icons sit on the right of each input, the empty required fields have red borders and messages, and their icons have turned red
Right-to-left on a phone: the icons move to the other side, and fields with an error show the icon in the error colour.

AJAX, multi-page forms and the block editor

The icons are added on your server while Gravity Forms prints the form, so they are there on the first page, on every next page of a multi-page form and after an AJAX submission or page change, with no script needed for them. Forms placed with the Gravity Forms block, with a shortcode or in a widget all get their icons. In the block editor, the add-on’s styles load for the Gravity Forms block preview.

Accessibility

  • Every icon is decorative: it is hidden from screen readers and never takes the keyboard focus. The field label still names the field, so the icon adds nothing a screen reader would read twice.
  • The inputs themselves are left exactly as Gravity Forms prints them: the same id, name, classes, value, placeholder and accessibility attributes such as aria-required, aria-invalid and aria-describedby. Labels stay linked to their inputs.
  • The icon never covers the text, the placeholder or the cursor, and clicking on an icon reaches the input below it.
  • The icon picker in the form editor works with the keyboard: the search box gets the focus, Enter takes the first match, Tab stays in the picker and Escape closes it and returns the focus.

Licence and updates

All features need an active licence. Without one, the add-on does not change any form, the form editor shows no Field icon block and the form settings tab asks for the licence key. Updates are delivered through the WordPress plugin updater while the licence is active. Plans cover one site, five sites or unlimited sites.

Uninstalling

When you delete the add-on from the Plugins screen (or uninstall it from the Gravity Forms add-on settings), it removes its own options, its licence check, the Field Icons form settings and the icon settings it stored on your fields. Your forms, fields and entries stay as they are.

Questions

Does the add-on change what is stored in my entries?

No. The icons are only part of how the form looks. Field names, values, validation, calculations, conditional logic and notifications work exactly as before.

Where do the icons come from?

The bundled icons are the Heroicons outline set, released under the MIT licence; the licence file is included in the add-on. They are drawn inline from a file inside the add-on, so no icon font and no outside site is involved. Media Library images come from your own uploads.

Can I change the icon colour with my own CSS?

Yes. Each icon reads its colour and size from CSS custom properties on its wrapper, --gfic-color and --gfic-size, and the icon itself has the class gfic-icon. Label icons have gfic-label-icon and the submit icon gfic-submit-icon.

Why does my Date field show no icon?

The field uses the date drop-down or date field input type, which has three separate boxes. Switch the input type to Date Picker; the icon then sits at the start of the box and the Gravity Forms calendar button stays at the end.

Will it slow my site down?

Forms that use icons get one small stylesheet and a tiny script that gives the submit-button icon the button’s text colour. Forms without icons get nothing at all.

Still need help?

Our support team answers tickets every day, usually within a few hours.

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