Skip to content

Main content

Agency Form Conditional Field Flag

Evaluate an explicit form-field requirement condition and whether the supplied text is empty, preserving whitespace as text.

Loading tool…

Description

Flag a supplied conditional field as required and empty.

Administrative records distinguish delegated authority, sign-off assertions, conditional fields, counter-minutes and date boundaries. A half-open delegation period excludes its final date, and staffed-counter time can sum simultaneous counters. Local flags and fees do not authenticate an approval or establish lawful authority or adequate service.

Flag a supplied conditional field as required and empty.

When to use this tool

Use Agency Form Conditional Field Flag when you already have conditionApplies, suppliedValue and need to flag a supplied conditional field as required and empty.

How to use the tool and how it works

  1. Enter conditionApplies, suppliedValue. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read fieldRequired, missingRequiredValue. Inspect fieldRequired, missingRequiredValue before interpreting the associated values.

Return fieldRequired=conditionApplies and missingRequiredValue=conditionApplies&&suppliedValue.length===0.1

Input fieldMeaning and unitsAccepted input
conditionAppliesCondition AppliesRequired. Boolean.
suppliedValueSupplied ValueRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
fieldRequiredField RequiredRequired. Boolean.
missingRequiredValueconditionApplies and text length zero; whitespace is treated as present.Required. Boolean.
json
{
  "input": {
    "conditionApplies": true,
    "suppliedValue": ""
  },
  "output": {
    "fieldRequired": true,
    "missingRequiredValue": true
  }
}

Limitations and assumptions

  • Whitespace counts as supplied. The condition and value are not independently verified, and no form schema, legal requirement or substantive completeness is established.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Check controlled policies, original case records, verified roles and account definitions. Apply complete administrative and legal processes when local routing delays, document counts or supplied approval comparisons cannot determine a valid action.

References

  1. Calculation and input contract: administrative-science/agency-form-conditional-field-flag — tool.io

Similar or alternative tools