i want to create ability to add more content to form if something is selected
When a form conditionally displays additional safety fields after a user selects a specific option, the design should require the follow-up fields whenever the triggering answer indicates a hazard, incident, exposure, injury, permit condition, or corrective action need. The source forms consistently use structured yes/no/N/A logic with comments or detail fields, which supports a safe pattern: if a user selects "Yes" for a hazardous condition, exposure, injury, or unmet control, the form should automatically reveal required detail fields for description, location, affected people or body parts, controls in place, and corrective actions. This approach improves completeness, supports hazard identification, and reduces missed follow-up documentation. [2] [1] [9]
- Use conditional logic only when the trigger is explicit, such as Yes/No, incident type, hazard type, PPE required, medical treatment, or permit-required status.
- Make the triggered fields required if the answer creates a safety, compliance, or investigation obligation.
- Keep the original trigger visible while the conditional section is open so reviewers can understand why extra fields appeared.
- Provide a comments or description field whenever a hazard, deficiency, or incident is identified.
- Allow N/A only where it is genuinely applicable, and do not let N/A bypass mandatory fields that are legally or operationally required.
- Use controlled selections first and free text second: dropdowns, radio buttons, checkboxes, then narrative detail.
- Show only fields relevant to the selected hazard category to reduce entry error and cognitive overload.
- Preserve an audit trail when answers change, especially if changing an answer hides previously entered safety information.
[4] [6] [3] Validation rules should be tied to the safety significance of the answer. If a user reports an incident, require date, time, location, description, and affected person or body part. If the user reports medical treatment, lost time, witness presence, hazardous chemical exposure, confined-space entry, or corrective action needs, require the corresponding follow-up fields before submission. For high-risk workflows, use hard stops for missing critical data and soft warnings for recommended but noncritical detail. [6] [3] [9]
- Require date and time fields for incidents, inspections, permits, and corrective actions.
- Require location fields when a hazard or incident is reported.
- Require narrative description when the user selects Other, Yes for hazard present, or any incident classification.
- Require corrective action owner and due date when unsafe conditions are identified.
- Require witness details only if the user indicates witnesses exist; otherwise allow a no-witness checkbox.
- Require body-part and incident-type classification for injury reporting.
- Require hazard-control details when a permit or assessment identifies a hazard as present.
- Require training documentation fields when the form records training-dependent activities such as machine use, chemical handling, lifting, or confined-space entry.
[12] [3] [5] User input controls should match the data type and safety purpose. Use radio buttons for mutually exclusive answers such as Yes/No/N/A; checkboxes for multiple selections such as body parts affected, tasks, injuries, or PPE in use; dropdowns for standardized categories such as incident type or department; numeric fields with range validation for atmospheric readings; and long-text fields for incident narratives, corrective actions, and hazard descriptions. For any "Other" option, automatically add a required text field. [3] [7] [5]
- Radio buttons: Yes/No/N/A, permit-required/not permit-required, on-premises/off-premises, normal schedule/overtime.
- Checkboxes: body parts affected, task types, injury types, PPE used, hazards present, authorized roles.
- Dropdowns: department, location type, incident classification, corrective action status, hazard category.
- Numeric fields: gas readings, noise levels, weight thresholds, dates, times, employee counts where needed for reporting logic.
- Text areas: incident description, supervisor description, comments, recommendations, prevention measures, hazard-control descriptions.
- Signature/date controls: employee, supervisor, investigator, trainer, permit supervisor, and reviewer acknowledgments.
[6] [13] [14] Hazard reporting fields should expand based on the selected hazard category. For general workplace hazards, capture the condition, source, exact location, exposure potential, and immediate controls. For chemical hazards, capture whether hazardous substances are present, whether a written hazard communication program exists, SDS and labeling status, employee training status, and emergency procedures. For confined spaces, capture atmospheric readings, identified hazards, isolation or control measures, required equipment, PPE, authorized entrants and attendants, emergency notification, and permit timing. For incidents, capture what happened, contributing factors, body part affected, incident type, PPE in use, and corrective actions. [2] [1] [14] [4] [7]
Compliance-sensitive form design should also protect privacy and limit unnecessary personal data. If the workflow supports OSHA injury and illness record submission or similar reporting, do not require fields that should not be submitted externally, such as employee name in certain submission contexts, employee address, physician name, or offsite treatment facility name and address. Text-entry screens should warn users not to include personally identifiable information in narrative fields unless it is specifically required for internal case management. A review screen should let the submitter inspect the full record, correct errors, and confirm that prohibited identifiers were not included before final submission. [15] [8] [8]
- Separate internal investigation fields from externally reportable fields.
- Mask or suppress prohibited personal identifiers in export workflows.
- Use role-based access so only authorized personnel can view sensitive employee information.
- Add inline privacy warnings near narrative fields.
- Require submitter confirmation before final submission that no unnecessary personal identifiers were entered.
- Retain confidentiality notices on health-related forms and incident records.
- Document which fields are mandatory for internal use versus external regulatory submission.
[11] [8] A safe data-entry workflow should be documented step by step. At minimum, document: who initiates the form; what trigger causes conditional sections to appear; which fields become mandatory; acceptable values and ranges; who reviews and approves the entry; how corrections are made; how hidden fields are handled if the triggering answer changes; how attachments such as photos or sketches are added; how corrective actions are assigned and tracked; and how records are retained, revised, and protected. For serious incidents or fatality/catastrophe workflows, the process should support early entry of available facts, later updates as information develops, and a final comprehensive narrative. [12] [16] [17]
- Define the trigger question and the exact conditional fields that appear for each answer.
- Map each conditional field to a validation rule, data type, and responsible role.
- Specify when the system blocks submission versus allows save-as-draft.
- Provide user instructions for narratives: factual, specific, no unnecessary PII, and include controls/corrective actions where applicable.
- Require review of the completed record by a supervisor, safety coordinator, or permit issuer when risk level warrants.
- Document revision control so updated facts do not overwrite the original event chronology without traceability.
- Test every branch of the conditional logic before release, including Yes, No, N/A, Other, and changed answers.
- Train users on the workflow and keep that training documented.
[10] [4] [14] A practical design standard is: trigger, reveal, require, review, and retain. Trigger additional fields from risk-relevant answers; reveal only the fields needed for that scenario; require completion of critical safety and compliance data; review for accuracy, privacy, and completeness before submission; and retain the record with revision history, signatures, and corrective-action tracking. That model aligns well with the inspection, incident, hazard communication, and permit forms in the source set and supports safer, more defensible documentation. [2] [7] [5]
Important Safety Note:
Always verify safety information with your organization's specific guidelines and local regulations.
References
Page links are approximateOSH Enforcement Procedures | CFR 127N - Tracking of Workplace Injuries and Illnesses
Open DocumentPage 45
OSH Enforcement Procedures | CFR 127N - Tracking of Workplace Injuries and Illnesses
Open DocumentPage 64