All Patterns /
Form Capture /
Employment Repeater
Employment Repeater
Allows applicants to add, edit, and remove employment history entries.
Tracks employer details, employment type, dates, and monthly income
with a running total across all entries.
Usage Notes
When to use
Use this pattern when an application collects employment history.
Common in benefits, unemployment, and workforce services where
income verification or employment status affects eligibility.
Accessibility considerations
All add, edit, and remove actions are announced via a live region.
The "current job" checkbox dynamically hides/shows the end date field;
this change is also announced. The running income total updates
with an aria-live="polite" region so screen reader users
are informed of changes. The remove confirmation uses a modal dialog
with focus trapping.
NYSDS components used
nys-textinput, nys-select,
nys-checkbox, nys-button,
nys-modal
Customization points
Agencies can change the maximum number of employers, modify
employment type options, add fields (e.g., job title, supervisor
contact), and customize how the income total is calculated. The
currency formatting uses Intl.NumberFormat and can be
adjusted for different locales.