Skip to main content
Coat of arms of Barbados
Official government website

Employment

Collect employment details, revealing the fields that fit the user's status.

Preview

Employment

Ask about the user's employment status first, then reveal the fields that fit their answer. Someone who is unemployed should not be asked for an employer or salary.

When to use this pattern

Use it when a service needs a user's employment details — an application that depends on income, occupation or work history. Ask only for what the service uses to make its decision.

Employment status

Ask "What is your employment status?" as a radio group (Studying, Employed, Self-employed, Unemployed, Other) and use the answer to decide which later fields to show. This keeps the form short for people the extra questions do not apply to.

Dates and duration

Where you need the length of a job, ask for a start date and an end date using the date input component, and offer an "I am currently working here" checkbox that hides the end date. For a running count, the number input component suits a "years of employment" field.

Salary

Say what currency and period you want — for example, the annual amount in Barbados dollars — so people do not guess. Keep type="text" with inputmode="numeric" so values are not silently reformatted.

Errors

Validate on the server and show one error message per field that fails, following the form error guidance.