explanation administratorintegrator

Checks inside a repeating table — the announcement

UNCTAD Digital Government Programme · 2026-09 · draft for release

A rule can now compare two answers about the same person in a repeating table — and form corrections ship alongside it that reach every question on the platform, not only tables.

A repeating table asks the same questions once per person or item — a company’s director table asks for a name and a date of birth, once per director. Today an agency can write a rule for a single question (“this date must be in the past”) but cannot write one that compares two answers about the same director, such as “this director’s date of birth must fall before their own appointment date.” The rule builder never offered a table’s own columns as something to compare against, so the sentence could not be written.

This release adds that missing capability, and folds in a correction to how the applicant’s browser checks rules — found while building it — that is worth announcing on its own.

What agencies can do today

  • Compare two answers within one row. A rule on a table column can now name another column of that same table, or a question asked once for the whole form. What is legal to compare against is decided once on the server — the same check a readiness report runs before publishing and publishing itself enforces afterward — and the rule builder’s picker applies that same definition, so an author is offered what those later checks will accept.
  • A row that breaks its own rule is refused at filing, by name. A separate check, run when the application is filed, judges whether each row’s own answers actually satisfy the rule. If a company lists three directors and the second one’s dates don’t make sense, the application is refused and the message names that director’s row — not a generic “something is wrong somewhere in the table.”
  • A rule that cannot be decided either way is never held against the applicant. Some comparisons are genuinely ambiguous from the data given; those are skipped, not refused.
  • A rule counted against today’s date is judged normally, but never refuses on its own. Its verdict is real, but the applicant’s clock and the country’s can disagree near midnight, so a violation of a today-counted rule is recorded rather than acted on — nobody is refused for a rule their own clock told them was satisfied.

What stays out of scope, on purpose

Comparing across directors is deliberately not possible, and stays that way. “Any director born before 1990” or “no two directors share the same identity number” are a different, harder feature — there is no single answer to compare against when a company lists eight directors, and nothing here attempts it. This is not an oversight the team ran out of time for; it is a scope line the maintainer drew on purpose, because building it safely means solving a different problem: judging a rule across a whole list of rows rather than within one.

The parts every agency should act on

A same-row check that already existed may now enforce for the first time. If a procedure already has a rule on a table column comparing that column against a whole-form question — for instance, a director’s date of birth checked against the company’s incorporation date — that rule could already be written and published before this release, but nothing on the server enforced it: it coloured the field red without ever blocking filing. It can now refuse the application at submission, naming the row. No production country is committed today, so no live filing is affected by this — but an agency reviewing an already-published procedure with such a rule should know its enforcement just changed, from advisory to binding.

A stricter format check

Separately, this release corrects a bug in how the applicant’s browser checks a format rule — a rule saying an answer must look a certain way, like “exactly four digits.” Until now, the browser accepted a value if the required pattern appeared anywhere inside it; the same check on the server has always required the whole answer to match. A rule meaning “four digits” would show green in the browser for 12345, because 1234 appears inside it — and then be judged wrong once it reached the server.

The browser is now corrected to match the server’s stricter reading, which is the reading that was always actually enforced. Three things follow, stated plainly:

  • This affects every form on the platform, not only tables. Any question anywhere with a format rule is covered by this fix, whether or not it sits in a repeating table.
  • Nobody is newly blocked from filing by this correction. A format check specifically has never been part of the checks that refuse a submission, and still isn’t. What changes is only the colour the applicant sees while filling in the form, never whether they can submit it.
  • A loosely written format rule will start marking values it used to pass. If an agency’s rule was written more loosely than intended — accepting 12345 for “four digits” — applicants will now see that value marked wrong, because that is what the rule actually says and what the server has always enforced. An agency that wants the looser behaviour needs to rewrite the rule to say so; this fix does not choose that for them.

A second, unrelated correction: date comparisons on the same calendar day

While fixing the format check, the same review found — and fixed — a second mismatch: the browser compared two dates as exact instants; the server has always compared them by calendar day instead, unless both sides carry a time of day. Wherever only one side carries a time — or neither does — the two could disagree about a date that fell on the same day for both.

The case an agency will recognise most often is a rule counted against today’s date:

  • Before: the browser compared today’s date against the exact right-now moment, so an answer dated today could show as “in the past” or “in the future” depending on the time of day.
  • Now: the browser compares calendar days, the way the server always has. An answer dated today is treated as today, full stop.

The same correction applies to any two date answers being compared, not only against today — for instance, an appointment recorded to the minute compared against a birth date that carries no time at all. Where both sides do carry a time of day, nothing changes: the two are still compared as exact instants, as they always were.

For most answers this changes nothing — the calendar day was never in question. The visible change is narrow but real: a comparison whose verdict depended on the time of day rather than the date can flip from green to red in the browser, because it now matches what the server was always going to decide. This reaches every form with a date-based rule, not only tables. An agency should hear about this from this note, not discover it on a live form.


Rulings this release records

The maintainer settled the scope on 2026-09-04: same-row comparison only, never a comparison across rows. On 2026-09-05, four further questions were put to the maintainer and ruled:

  • A row that breaks its own rule refuses the filing, naming the row.
  • The filing check covers only rules comparing two answers — every other rule type on a column is unaffected.
  • A nested table’s rule still may not reach a whole-form answer.
  • The browser’s loose format matching is corrected in this same change, rather than filed as separate work.

The same-day date correction above was not a separate ruling — it was in scope from the spec’s first draft, alongside the row-scoped comparison itself.


Design: docs/specs/2026-09-05-row-scoped-rule-comparison.md. Extends the docref row-scope pattern of docs/specs/2026-08-27-nested-repeating-groups.md without diverging from it. Refs #1484.