How to Manage Field Error States and Highlight Effect

December 19, 2025

Jotform makes it easy to manage how fields behave when users make mistakes or interact with your form. Every form includes two built-in features: the error state, which alerts users when required fields are left empty or filled incorrectly, and the highlight effect, which visually emphasizes a field when it’s selected. Together, these features guide users to complete forms accurately and improve the overall experience.

Highlight Effect

Highligh Effect Sample in Jotform
The background color of a field changes subtly when the field is focused.

Error State

Error State Sample in Jotform
An error message highlighted with a red background to grab the user’s attention

You can disable or customize both features to better match your form’s design and improve the overall user experience.

Notes

  • If you’re using the old default theme, you can reach out to us through our Help Center.
  • A visual error state is a key part of form validation, and we strongly recommend keeping it enabled. Without a clear error message, users may become confused, which can reduce your form’s completion rate.

How to Remove the Error State

If you prefer not to use Jotform’s default error messages, you can inject custom CSS to remove them. This keeps the form clean but still gives users a subtle visual cue. Here’s what to do:

  1. First, copy this code:
.form-error-message {
    display: none;
}
.form-validation-error {
    box-shadow: none !important;
}
.form-line-error {
    background: none;
}
  1. Then, in Form Builder, click on the Paint Roller icon on the right side of the page to open Form Designer.
  2. Now, in the Form Designer menu, click on the Styles tab, scroll down then paste the code into the Inject CSS Code box, and you’re all set.
Remove default error messages using custom CSS in Jotform

That’s it! This will remove error messages and highlight errors with a simple red border instead. Here’s how it’ll look:

Form showing removed error messages with a subtle red border highlighting required fields in Jotform

    How to Disable the Highlight Effect

    The highlight effect adds a subtle background change when a field is selected, but if you’d rather keep your form clean and distraction-free, you can easily turn it off. Here’s how to do it:

    1. In Form Builder, in the orange navigation bar at the top of the page, click on Settings.
    2. In the Form Settings page, click on Show More Options.
    Form Settings page showing the Show More Options button selected to disable the field highlight effect in Jotfor
    1. Next, scroll down to the Highlight Effect Dropdown menu, choose Disabled, and you’re good to go.
    Highlight Effect dropdown set to Disabled in Form Settings in Jotform

    How to Customize the Error State

    Error states help people quickly spot and fix mistakes on your form. You can adjust how these messages look to match your style and make them stand out. Here’s a quick how-to:

    1. In Form Builder, click on the Paint Roller icon on the top-right side of the screen.
    How to Manage Field Error States and Highlight Effect Image-1
    1. Then, in the Form Designer menu that opens, click on Advanced Designer.
    Advanced Designer tab opened in Form Designer to further customize the error state in Jotform
    1. Now, in the Designer tab, under the Color Scheme section, check the box before Simulate Error State to see how it looks while customizing the effect.
    2. Then click on the Gear icon next to it.
    Advanced Designer tab opened in Form Designer to further customize the error state in Jotform**
    1. Next, in the Error Styles section that comes up, configure these things:
    2. Now, in the top-left corner of the page, click on the Disc icon to save the changes, and you’re ready!
    Customizing error message styles and field highlights in Jotform using the Advanced Designer in Form Builder

    How to Customize the Highlight Effect

    The highlight effect makes fields stand out when someone clicks on them. You can easily adjust the style to match your form’s design. Here’s a quick how-to:

    1. In Form Builder, click on the Paint Roller icon on the top-right side of the screen.
    Customizing the field highlight effect in Jotform using the Form Designer Paint Roller icon
    1. Then, in the Form Designer menu that opens, click on Advanced Designer.
    Accessing Advanced Designer in Jotform Form Designer to customize field highlight effect
    1. Now, in the Designer tab, under the Color Scheme section, check the box before Simulate Highlight to see how it looks while customizing the effect.
    2. Then click on the Gear icon next to it.
    Customizing highlight effect in Jotform Advanced Designer by enabling Simulate Error State and accessing settings via Gear icon
    1. Next, in the Highlight Styles section that comes up, click on Page, and set your highlight color.
    2. Now, in the top-left corner of the page, click on the Disc icon to save the changes, and you’re done.
    Setting highlight color for form fields in Jotform Advanced Designer and saving changes with the Disc icon

    That’s it! With these options, you can remove, disable, or fully customize error states and highlight effects to create a form that not only looks the way you want but also guides your users effectively. Whether you keep things simple or make them more visually dynamic, these settings give you full control over the form-filling experience.

    Academy Logo

    Introduction to Form Building

    General Form Settings

    Go to course :General Form Settings
    lesson-2 - image

    Send Comment:

    Jotform Avatar
    This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

    Comment:

    • Director Don - Profile picture
    Still have unanswered questions?

    We’re here for you 24/7, anytime you need us day or night. Have a question or need a hand with something? Our team is always ready to help out.