Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Required field marked optional (or the reverse): how to fix it

CNV-003Medium impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

Every form field has two layers. The visible layer is what people read: an asterisk (*), the word 'optional' or '(required)'. The rule layer is what the form really enforces: the HTML required attribute, the form builder's 'required' toggle, JavaScript validation and server-side checks.

The issue is a mismatch between the two. There are two versions. Marked optional but required: the label says optional, yet the form refuses to submit without it. Marked required but optional: the label shows an asterisk, yet the form accepts an empty value, so you receive leads with gaps.

It usually appears after someone edits the form. A designer changes the label text, a developer swaps the plugin, or a marketer flips a toggle in the builder without updating the other layer.

Why it costs you leads or sales

A visitor who skips a field marked optional and then sees an error often does not know which field caused it. Some give up. On mobile, the error may sit off screen, so the form seems to do nothing when they tap submit.

The reverse problem costs you quality. If a phone number looks required but is not enforced, your sales team gets leads they cannot call. Reports and CRM automations that depend on that field also break.

Where an 'optional' field that is really required loses the lead
  1. Visitor reads formPhone label says 'optional'
  2. Skips phoneFills name and email only
  3. Submit blockedHidden rule requires phone
  4. Visitor leavesNo lead recorded
  5. Thank-you page and conversion tagNever reached

The visitor follows the label, hits an error they do not understand and leaves.

Form completion with and without a label mismatchExample numbers
Form completion with and without a label mismatch (example)Labels match rules: 62 % of visitors who start the form and submit it; Optional label, field required: 48 % of visitors who start the form and submit it024486248Labels match rulesOptional label, field…% of visitors who start the form and submit it

Example: illustrative numbers only. A mismatch adds an unexpected error, so fewer starters finish.

How to check if your site has it

The check is simple: for every field, compare what the label says with what the form enforces. Do it on desktop and on mobile, since some themes show different markup.

Compare labels with rules
  1. List every field and its label

    Open the live page and note which fields show an asterisk, '(required)' or '(optional)'.

  2. Inspect the field in the browser

    Right-click the field, choose Inspect and look for required or aria-required="true" on the input element.

  3. Submit with only the 'optional' fields empty

    Leave every field marked optional blank and fill in the rest. If you get an error, the label is wrong or a rule is too strict.

  4. Submit with a 'required' field empty

    Leave one asterisk field blank. If the form sends anyway, the rule is missing. Check that you test with a harmless test entry and tell your team, so it is not mistaken for a real lead.

  5. Check server-side rules

    If the browser lets a blank value through but the form still fails, a server or plugin rule is enforcing it. Look in the form builder's field settings.

What a matching pair looks likehtml
<label for="phone">Phone (optional)</label>
<input type="tel" id="phone" name="phone" autocomplete="tel">

<label for="email">Email *</label>
<input type="email" id="email" name="email" autocomplete="email" required aria-required="true">

How to fix it

First decide what each field should be. Ask your sales team which data they truly need to follow up. Then make the label and the rule agree. The steps below differ by platform.

Align the label and the rule
  1. Open the form in your form plugin

    In Contact Form 7, Gravity Forms, WPForms or similar, open the form editor and select the field.

  2. Match the required setting to the label

    In Gravity Forms and WPForms use the 'Required' toggle. In Contact Form 7 a required field uses an asterisk in the tag, for example [email* your-email], and an optional one has none.

  3. Check theme or custom code

    If a theme or snippet adds asterisks with CSS or JavaScript, update it so it follows the real setting.

Label and rule before and after

Mismatch

  • Phone shows '(optional)' but the form rejects it when empty
  • Company shows an asterisk but accepts blank
  • Error message appears off screen on mobile

Matched

  • Phone is optional in the label and in the rule
  • Only email and name carry an asterisk and are enforced
  • Error message names the missing field
What a hidden required rule does to submissionsInteractive
Field required but labelled optional

Phone number * required

Visitors who start the form and send it (example)

42% send it · example numbers

Visitors skip the 'optional' field, get an unexpected error and some leave, so fewer forms are submitted.

Toggle the cause to see the effect on submissions.

How to confirm it's fixed

Confirmation checklist
  • Every asterisk field blocks submission when left empty
  • Every field marked optional lets the form send when left empty
  • The error message names the field that needs fixing
  • The error is visible on mobile without scrolling
  • A full submission still reaches the inbox and CRM
  • The thank-you page and conversion tags still load after a valid submit
  • You tested on the live published page, not only the preview

How to prevent it happening again

Prevention habits
  • Keep one written list of required and optional fields per form
  • Generate asterisks from the field setting, not by typing them into labels
  • Retest the form after every plugin, theme or builder update
  • Re-run the submit tests whenever someone edits field labels
  • Enforce the same rules on the server as in the browser
  • Mark test submissions clearly so your team can filter them out

How FunnelGuard handles this

FunnelGuard does not check this yet. Comparing a field's required attribute with its label is a possible future check, but today it is not part of the product.

What FunnelGuard does do is nearby. It runs your real lead form journey on a schedule with a robot visitor, from the EU or the US. It checks each step, whether the form can be submitted, whether the tracking hits reach platforms such as GA4, Google Ads and Meta, and whether the test lead reaches the inbox and CRM. If a rule change makes a submission fail outright, that broken journey can show up. A mismatch between a label and a rule that does not stop the journey will not.

To watch for this issue today, use the manual checks above after each form edit, or add a short test to your own QA process. A free FunnelGuard plan covers 1 site and 2 journeys with daily checks, no card needed, and there is a free read-only website audit.

Questions people ask

Why does my form say a field is optional but still show an error?

The field is probably required by a rule the label does not reflect. That can be the HTML required attribute, a form builder toggle, a JavaScript check or a server-side rule. Inspect the field and check the builder settings, then update the label or the rule so they match.

How do I check if a form field is really required?

Right-click the field, choose Inspect and look for required or aria-required="true" on the input. Then test by submitting the form with that field empty. Server-side rules will not show in the HTML, so the submit test matters.

Why does my form accept submissions when a required field is empty?

The asterisk is only text, and the rule behind it is missing or switched off. It can also be bypassed if validation exists only in the browser. Turn on the Required setting in your form builder and enforce it on the server too.

Should I mark optional fields or required fields?

Pick one convention and use it everywhere. Many sites mark required fields with an asterisk and add the word 'optional' to the rest. Whatever you choose, make sure it matches how the form behaves.

Does a required field mismatch hurt conversions?

It can. Visitors who follow the label and then hit an unexpected error may leave, and missing data on fields that look required can make leads less useful. The size of the effect depends on your form and traffic.

How do I make a field required in Contact Form 7?

Add an asterisk to the field tag, for example [email* your-email]. A tag without the asterisk, such as [tel your-phone], is optional. Update the visible label to match.

Does FunnelGuard detect required fields marked optional?

No. FunnelGuard does not check this yet. It does run your lead form journey on a schedule and checks that submission, tracking and lead delivery work, but it does not compare labels with required rules.

How often should I test my form's required fields?

Test after every edit to the form, theme or plugin, and after updates. A quick submit with optional fields empty and then with a required field empty takes a couple of minutes.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.