> ## Documentation Index
> Fetch the complete documentation index at: https://docs.declarativeforms.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Time

If you have not created a form before, start with [Create a form](/getting-started/create-a-form).

```yaml form.yaml theme={null}
version: 1
title: "Example form"
description: "A comprehensive time example."

sections:
  - id: section_1
    title: "Section 1"
    fields:
      - id: question_1
        type: time
        label: "Question 1"
        validators:
          - required
          - type: min
            value: "09:00"
            message: "Use a time at or after 09:00."
          - type: max
            value: "17:00"
            message: "Use a time at or before 17:00."
          - type: expression
            expression: "data.question_1 !== '12:00'"
            message: "Choose a time outside of noon."

    next: done
```
