Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Conditional field never appears: how to find and fix it

PRF-237High impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

Conditional logic (also called show/hide rules or smart fields) reveals extra fields based on an earlier answer. For example, choosing "Other" in a dropdown should show an "Please specify" box, or choosing "Company" should show a VAT number field.

Why it costs you leads or sales

If the hidden field is required, the browser or the form blocks the submit and the visitor sees no field to fill in. Some forms show a vague error, some do nothing. Most people leave rather than guess what is wrong.

If the field is optional, the form still sends, but you lose the detail you needed, such as the product, budget or booking type. Sales then follow up with half the context.

Where a hidden conditional field stops the lead
  1. Open formForm loads normally
  2. Pick trigger optionFor example "Other" or "Company"
  3. Extra field showsField stays hidden
  4. SubmitBlocked by a required hidden field
  5. Lead in CRMNever created

The visitor picks the trigger option, the field never shows, and the required check blocks the submit.

Submissions from visitors who pick the trigger optionExample numbers
Submissions from visitors who pick the trigger option (example)Broken (required field hidden): 0 submissions; Fixed: 62 submissions02448062Broken (required fiel…Fixedsubmissions

Example: of 100 visitors who pick the trigger option, the field shows for all of them in the fixed form but for none in the broken one.

How to check if your site has it

Test every conditional rule by hand
  1. List every conditional rule

    Open the form builder and note each field that is shown or hidden by another answer, and which answer triggers it.

  2. Test each trigger option

    Pick every option in turn, not just the first. Check the right field appears and the wrong ones stay hidden. Also switch back to confirm it hides again.

  3. Test on mobile and other browsers

    Use a real phone or your browser's device mode, plus Safari and Firefox. Some rules fail only on certain browsers.

  4. Open the browser console

    Press F12, open Console, reload and pick the trigger. A red JavaScript error often explains why the logic did not run.

  5. Inspect the hidden field

    Right-click the spot where it should appear, choose Inspect and look for display: none, hidden, or a missing element. This tells you if the rule never fired or CSS is hiding it.

  6. Submit a test lead

    Complete the form using each trigger path and confirm the submission reaches your inbox and CRM.

A script error stops the field from showing

The page script fails, so the show rule never runs.

How to fix it

The fix depends on your form tool. Start with the rule itself, then look for script conflicts. Steps below cover the usual builders.

Fix the conditional rule by platform
  1. Re-save the rule

    In your form plugin (Gravity Forms, WPForms, Contact Form 7 add-ons, Fluent Forms and similar), open the field's conditional logic and check it points at the right field and the exact option value. Re-select both and save.

  2. Rule out optimisation plugins

    Exclude the form page from JavaScript minify, combine and delay settings in your caching plugin, clear the cache and retest.

  3. Rule out conflicts

    Temporarily switch to a default theme and disable other plugins one at a time. If the field appears, re-enable until it breaks again.

Show a field only when "Other" is chosenjavascript
document.addEventListener('DOMContentLoaded', function () {
  var select = document.querySelector('#contact-reason');
  var wrap = document.querySelector('#reason-other-wrap');
  var input = document.querySelector('#reason-other');
  if (!select || !wrap || !input) return;

  function update() {
    var show = select.value === 'other';
    wrap.hidden = !show;
    input.required = show;
    if (!show) input.value = '';
  }

  select.addEventListener('change', update);
  update();
});

How to confirm it's fixed

Confirmation checklist
  • Every trigger option shows the right field
  • Changing the answer hides the field again
  • The form submits with the field shown and with it hidden
  • No red errors in the browser console
  • Works on mobile and in Safari, Chrome and Firefox
  • The test lead arrives in your inbox and CRM with the extra answer included
Conditional field behaviour

Before

  • Pick "Other" and nothing appears
  • Required field hidden, submit blocked
  • Visitor leaves with no error they understand

After

  • Pick "Other" and the field appears at once
  • Required only while visible
  • Lead and the extra detail reach the CRM

How to prevent it happening again

Prevention habits
  • Retest every conditional path after theme, plugin or form-tool updates
  • Keep field and option names stable, or update rules when you rename them
  • Exclude form pages from script minify and delay settings
  • Keep conditional logic simple; fewer rules mean fewer breakages
  • Review the form on mobile whenever you change page scripts

How FunnelGuard handles this

FunnelGuard detects this issue only partly. A robot visitor runs your real form journey on a schedule. If the journey needs the conditional field to complete, and the field never appears, the journey fails. FunnelGuard then re-checks from a second region and sends one alert with a screenshot and a likely cause.

Frequently asked questions

Questions people ask

Why is my conditional field not showing up in my form?

The usual causes are a rule pointing at a renamed field or option, a JavaScript error on the page, a script that runs before the form loads, or CSS keeping the field hidden. Open the browser console and inspect the field to see which applies.

Why can't I submit my form when a field is hidden?

A hidden field that is still marked required fails validation, so the form blocks the submit. Make the field required only while it is visible, or remove the requirement.

How do I test conditional logic on a form?

Pick every trigger option in turn, check the right field shows and hides again, then submit a test lead on each path. Repeat on mobile and in more than one browser.

Can a caching or optimisation plugin break conditional fields?

Yes. Minifying, combining or delaying JavaScript can stop form scripts from running in the right order. Exclude the form page from those settings, clear the cache and retest.

Does Webflow or Squarespace support conditional form fields?

Neither has built-in conditional logic in its standard form. You need custom code, interactions or a separate form tool with logic and then embed it.

Can FunnelGuard detect a conditional field that never appears?

Partly. It fails the journey if the field is needed to finish the form, but it does not test every trigger option. Test the other branches by hand or set up a journey for each important path.

How often should I retest conditional forms?

Retest after any change to the theme, plugins, form tool or page scripts, and spot-check regularly. Scheduled journey checks help catch breakages between manual tests.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: journey fails if field needed.

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.