
A Contact Form 7 range slider is suitable for an approximate value within a known interval: a rough project scale, a preference level, or an indicative quantity. It is less suitable when someone must enter an exact amount or explicitly confirm that they chose a value. The browser gives a range input a value even before the visitor moves it.
That default is the central design decision. A technically valid submission can contain the slider’s starting value without expressing a deliberate preference. This guide explains native range fields, sensible bounds, and verification cases. For precise typed numbers, use our number-field guide.
Choose a question a slider can answer
Write the question and units before configuring the field. “Approximate number of workstations” is clearer than “Project size.” If the range represents an estimate rather than a committed order, say so near the control. A team receiving the value should know whether it is an exact requirement or the visitor’s rough indication.
A slider is a poor way to collect an account number, telephone number, postal code, or value where every digit matters. It also creates a problem for “not sure” answers: a midpoint is a number, not an absence of knowledge. Consider a select dropdown with clearly defined bands when unknown or undecided is a meaningful option.
Use a range only when its interval and granularity match the follow-up decision. If the team only separates small, medium, and large projects, a hundred apparent choices may add precision that the workflow never uses.
Add a native range field with explicit units
In the form’s Form tab, a simple estimated workstation field could be:
<label>Approximate number of workstations
[range workstation-count min:10 max:50 step:5 "25"]
</label>
<p>Choose an estimate from 10 to 50, in groups of 5. Starting estimate: 25.</p>
The field name is workstation-count. The minimum is 10, maximum 50, step 5, and explicit starting value 25. Use that name consistently when adding the corresponding mail-tag to the notification. The example belongs inside the CF7 form template; it is not a page-level shortcode.
CF7 provides range and range* form-tags and maps them to the HTML range input. An asterisk indicates a required field in CF7’s syntax, but a native range control normally already has a value. Do not treat range* as proof that a visitor actively moved the slider or endorsed its starting estimate.
Align the minimum, maximum, step, and default
Choose allowed values deliberately. With the example above, the intended sequence is 10, 15, 20, and so on through 50. The default 25 lies on that sequence. A default of 27 would not match the stated step, making the initial state harder to reason about.
Browsers sanitize range values and supply a default when one is absent. The native HTML control cannot have an empty value; without an explicit value its default is based on the interval midpoint. CF7 also processes the field through its own module. Review the actual rendered input and submitted result instead of inferring behavior from the authoring text alone.
Inspect min, max, step, and value in the rendered input. Verify both endpoints and an intermediate position in your target browsers. If the maximum cannot be reached on the chosen step sequence, redesign the interval so the visitor-facing instructions and the actual permitted values agree.
Do not promise an automatic numeric readout
The native slider’s appearance varies by browser and operating system. Do not assume it visibly displays its current number beside the thumb. The core field syntax does not by itself add a custom live text readout to the form.
If seeing the current number is essential, choose a number input or plan an accessible readout as a separate enhancement. That enhancement needs its own initial-state, keyboard, change, and reset checks. This article does not supply a JavaScript addon or claim that the default form includes one.
Keep the label and range instructions visible when the visitor starts interacting. A placeholder does not reliably communicate a slider’s units or current value. An instruction that explains endpoints and increments is more useful than an unexplained decorative control.
Check keyboard and mobile interaction
Tab to the field and try the keyboard controls supported by the browser. Check that focus remains visible, that the value changes predictably, and that the visitor can reach the remaining fields and Submit button. Avoid custom styling that makes the thumb or focus indicator hard to see.
On a phone, verify the control at the page’s actual width. A narrow track makes fine selection harder; that is another reason to use a coarse step for estimates. Review the label, units, and validation messages with larger text settings. A slider that fits geometrically can still be difficult to understand.
Our labels and error-message guide covers the surrounding form structure. The range field should be assessed as part of that structure, including how its accessible name and value are communicated by the tools your audience uses.
Verify what the notification and record contain
Add the field’s mail-tag to the Mail tab with a clear label, for example “Estimated workstations: [workstation-count].” In an isolated environment, compare the expected value with the notification and any configured stored record. CF7 itself is not a message database; storage requires a suitable separate plugin.
| Suggested case | What to inspect |
|---|---|
| Submit without moving the slider | Whether the starting value is included and the wording remains truthful |
| Choose the minimum and maximum | Endpoint values in mail and storage |
| Change with the keyboard | Step behavior and resulting value |
| Correct another invalid field | Whether the intended slider value survives correction |
| Complete, then begin another inquiry | Reset behavior and the next starting value |
These are recommended cases, not measurements from a published test. Record browser, page, form, chosen value, and actual result. If the reset behavior is surprising, review our post-submission reset guide rather than changing multiple field settings at once.
Interpret estimates carefully
A submitted value of 25 may be an active choice or the untouched default. Do not report every such record as an explicit selection unless your implementation separately establishes that distinction. If the question needs affirmative confirmation, use a control and validation design that can express an unanswered state.
Svetlik Analytics for Contact Form 7, our free plugin, provides submission trends and statistics. It does not establish that a slider was moved or that its number became a qualified lead. Keep field meaning and team follow-up separate from aggregate submission reporting.
Official sources
Reviewed October 14, 2026.
