A quota engine
in every project.
Every Fieldbase project ships with a dedicated Quota tab and a built-in quota engine. A three-step wizard — Name & Variables → Prune cells → Set targets — turns pick-a-question into a working quota group in under a minute. Nested quotas (gender × age × market) are the same wizard with one more variable. Edit targets live in the detail view, round-trip the cell table through CSV, and reference any quota from a one-line script. Built for high-volume fielding — exact counts under load, no double-count on retry.
Pick, prune, target.
A quota in under a minute.
Hit + New and the wizard walks you through the three things that actually matter: what to measure (variables), which cells to keep, and what the targets should be. Cells are generated automatically from the picked variables; you don't write them by hand.
- Three steps, nothing more. Name & Variables → Prune cells → Set targets. No hidden settings, no YAML to learn, no cells to type by hand.
- Variables are the questions you already have. Pick a filterable list of your survey questions. The wizard reads the options and builds the cell grid.
- Cells are generated, not typed. One row per combination. For a Male/Female × 3 age bands quota, that's 6 cells with sensible labels — zero manual data entry.
quota("ageHH", 1).isFull Interlocked quotas,
one extra pick.
A single-variable quota and a 3-way interlocked quota use the same wizard. Add a second variable and you get the cross-product; add a third and the cells recompute. Drag the ⋮⋮ handle to reorder. The wizard labels every cell for you (18-34 · low, 18-34 · mid, 35-54 · low…) so the detail view stays readable.
- Up to N variables. Mix single-select and multi-select questions. Cell counts shown live as you pick.
- Prune what you don't need. Step 2 lets you drop combinations that don't apply — a 55-64 × gaming-primary cell might be excluded by design.
- Stable cell codes. Each generated cell gets a 1-based number that never shifts, even if other cells are deleted later. Scripts reference by code; the UI shows the label.
Edit targets live.
CSV in and out.
Every quota opens into a detail view with the current fill. Change a target inline. Add a cell. Bulk-upload a target set as CSV. Export the live counts the same way for a stakeholder update. The sidebar lists every quota in the project with its progress at a glance.
- Inline target edits. Click a target, type the new number, Save targets. Takes effect on the next complete.
- CSV in and CSV out. Prep targets in Excel for a client review; upload. Export current fill for a weekly report. Round-trip clean.
- One line to enforce in a script.
if quota("qtMarket", hMarket.value).isFull: endSurvey("quotafull"). Same engine the UI shows; always in sync.
quota("qtAgeGender", 2).isFull in a routing script to screen out when cell #2 fills.
Built for high-volume fieldwork
Underneath the simple UI the engine does the right thing at scale. Every completion is counted exactly once under a lock, a respondent who retries or reloads is never counted twice, and cells that qualify together increment together. The guarantee isn't a claim on this page — it's a test in the simulator you can run against your own survey before you launch.
Quota engines, in plain terms.
What is a quota engine in survey software?
A quota engine is the part of a survey platform that decides, in real time, whether a respondent can continue into or complete a survey based on how many respondents already match a given profile. It counts completions per cell — say women aged 25–34 in Germany — closes a cell once its target is hit, and routes new respondents who match a full cell to a screenout. The engine runs on every submission, concurrently, under live fielding traffic.
How does a quota engine prevent overshoot under concurrent traffic?
Overshoot has two causes. The first is the gap between reading a cell count and writing it back: if two respondents complete at the same millisecond, both can read "98 of 100" and both write 99, so the counter falls behind and the cell stays open after it is full. Fieldbase records every completion inside a transactional lock at the database layer, so the count stays exact under heavy concurrent traffic and respondent retries.
The second cause is respondents already mid-survey when a cell fills. Fieldbase checks quotas at the screener, so new arrivals for a full cell leave in the first minute, and anyone already past the screener finishes and is counted instead of being cut off on the last page. We wrote up how counting fails on most platforms →
What are nested or interlocking quotas?
Nested (also called interlocking) quotas are cells defined by the combination of two or more variables — for example gender × age-band × market produces 2 × 5 × 4 = 40 cells, each with its own target. In Fieldbase these are the same wizard as a single-variable quota, just with one more variable picked. The engine fills each nested cell independently and closes only the cells that hit their target, so a quota that is full for women 25–34 in Germany stays open for men 25–34 in Germany.
Can you edit quota targets live during fielding?
Yes. The quota detail view shows current fill against target for every cell in real time, and the target column is editable in-place. Raising a target re-opens a cell; lowering a target below current fill closes it immediately. Changes take effect on the next respondent — no deploy, no restart. Common uses: boosting a lagging cell near the end of fieldwork, or closing a cell early when a client asks.
How do you reference a quota from survey logic?
One line. quota("quota_name", cell_code).isFull returns true or false and can be used in any routing condition — screen-out gates, branch conditions, piped display text, or custom validation. The same accessor also exposes fill count, target, and percent complete, so you can show "you're respondent 47 of 100" inside the survey if you want. The script engine is lint-checked so an invalid quota reference is caught before publish.
What is the best quota engine for surveys?
The right choice depends on what matters most: target precision under traffic, nested cell support, live edit, script integration, and panel-friendly routing. Qualtrics, Decipher/Forsta, Alchemer, and Fieldbase all ship a quota engine; the gaps between them tend to show up in the last-slot behaviour under concurrency, the number of nested dimensions supported cleanly, and whether you can change targets mid-field without a redeploy. Fieldbase is built concurrent-safe by default and treats nested quotas as one more variable in the same wizard, so there's no "simple vs advanced" split to grow out of. See the full alternatives checklist →