{
  "slug": "employee-onboarding",
  "name": "Employee onboarding",
  "description": "Gather a new hire's details, banking, and signed policies before their first morning.",
  "page": "https://lazerforms.com/use-cases/employee-onboarding",
  "create_url": "https://lazerforms.com/signup?template=employee-onboarding",
  "fields": [
    {
      "id": "eo_name",
      "type": "text",
      "label": "Full name as it appears on your identity document",
      "required": true,
      "description": ""
    },
    {
      "id": "eo_email",
      "type": "email",
      "label": "Personal email address",
      "required": true,
      "description": ""
    },
    {
      "id": "eo_phone",
      "type": "text",
      "label": "Mobile number",
      "required": true,
      "description": ""
    },
    {
      "id": "eo_dob",
      "type": "datepicker",
      "label": "Date of birth",
      "required": true,
      "description": ""
    },
    {
      "id": "eo_address",
      "type": "textarea",
      "label": "Home address",
      "required": true,
      "description": ""
    },
    {
      "id": "eo_role",
      "type": "text",
      "label": "Job title",
      "required": true,
      "description": ""
    },
    {
      "id": "eo_start",
      "type": "datepicker",
      "label": "Start date",
      "required": true,
      "description": ""
    },
    {
      "id": "eo_bank",
      "type": "text",
      "label": "Bank account for salary",
      "required": true,
      "description": ""
    },
    {
      "id": "eo_ice",
      "type": "text",
      "label": "Contact name and phone number",
      "required": true,
      "description": ""
    },
    {
      "id": "eo_id",
      "type": "fileupload",
      "label": "Identity and right to work documents",
      "required": true,
      "description": "Passport or national identity card, plus any work authorisation.",
      "max_files": 4
    },
    {
      "id": "eo_sign",
      "type": "signature-pad",
      "label": "I confirm these details and accept the employee handbook",
      "required": true,
      "description": ""
    }
  ],
  "structure": [
    {
      "id": "eo_h1",
      "type": "heading",
      "label": "",
      "config": {
        "required": false,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "text": "Personal details",
        "level": 2,
        "alignment": "left",
        "color": "#000",
        "font_size": 0,
        "font_weight": "700",
        "margin_top": 24,
        "margin_bottom": 8
      }
    },
    {
      "id": "eo_name",
      "type": "text",
      "label": "Full name as it appears on your identity document",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "minlength": 0,
        "maxlength": 0
      }
    },
    {
      "id": "eo_email",
      "type": "email",
      "label": "Personal email address",
      "config": {
        "required": true,
        "placeholder": "e.g., name@example.com",
        "description": ""
      },
      "meta": {}
    },
    {
      "id": "eo_phone",
      "type": "text",
      "label": "Mobile number",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "minlength": 0,
        "maxlength": 0
      }
    },
    {
      "id": "eo_dob",
      "type": "datepicker",
      "label": "Date of birth",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "min": "",
        "max": ""
      }
    },
    {
      "id": "eo_address",
      "type": "textarea",
      "label": "Home address",
      "config": {
        "required": true,
        "placeholder": "Street, city, postal code, country",
        "description": ""
      },
      "meta": {
        "minlength": 0,
        "maxlength": 0,
        "rows": 3
      }
    },
    {
      "id": "eo_h2",
      "type": "heading",
      "label": "",
      "config": {
        "required": false,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "text": "Role and payroll",
        "level": 2,
        "alignment": "left",
        "color": "#000",
        "font_size": 0,
        "font_weight": "700",
        "margin_top": 24,
        "margin_bottom": 8
      }
    },
    {
      "id": "eo_role",
      "type": "text",
      "label": "Job title",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "minlength": 0,
        "maxlength": 0
      }
    },
    {
      "id": "eo_start",
      "type": "datepicker",
      "label": "Start date",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "min": "",
        "max": ""
      }
    },
    {
      "id": "eo_bank",
      "type": "text",
      "label": "Bank account for salary",
      "config": {
        "required": true,
        "placeholder": "IBAN, or account and routing number",
        "description": ""
      },
      "meta": {
        "minlength": 0,
        "maxlength": 0
      }
    },
    {
      "id": "eo_h3",
      "type": "heading",
      "label": "",
      "config": {
        "required": false,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "text": "Emergency contact",
        "level": 2,
        "alignment": "left",
        "color": "#000",
        "font_size": 0,
        "font_weight": "700",
        "margin_top": 24,
        "margin_bottom": 8
      }
    },
    {
      "id": "eo_ice",
      "type": "text",
      "label": "Contact name and phone number",
      "config": {
        "required": true,
        "placeholder": "Who we call, and on what number",
        "description": ""
      },
      "meta": {
        "minlength": 0,
        "maxlength": 0
      }
    },
    {
      "id": "eo_id",
      "type": "fileupload",
      "label": "Identity and right to work documents",
      "config": {
        "required": true,
        "placeholder": "",
        "description": "Passport or national identity card, plus any work authorisation."
      },
      "meta": {
        "allowed_types": "pdf, jpg, png",
        "camera": true,
        "max_files": 4,
        "min_files": 1
      }
    },
    {
      "id": "eo_sign",
      "type": "signature-pad",
      "label": "I confirm these details and accept the employee handbook",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "height": 180,
        "pen_color": "#000",
        "background_color": "#ffffff"
      }
    }
  ],
  "example_submission": {
    "values": {
      "eo_name": "Jordan Ellery",
      "eo_email": "person@example.com",
      "eo_phone": "+44 20 7946 0958",
      "eo_dob": "2026-09-09",
      "eo_address": "A short factual answer."
    },
    "idempotency_key": "employee-onboarding-2026-09-09-001",
    "agent": {
      "name": "your-agent"
    }
  },
  "notes": [
    "Key every value by the field id, never by the label. A label may be renamed.",
    "A fileupload value is {\"base64\", \"filename\", \"content_type\"} or {\"url\"}, capped at 3 MB.",
    "A select value must match one of the option values exactly.",
    "A checkbox-simple value is one of yes, no, or na.",
    "A datepicker value is YYYY-MM-DD.",
    "Send an idempotency_key so a retry cannot store the same submission twice."
  ]
}