Member Junction
    Preparing search index...

    Static utility class for form response value formatting and resolution.

    Provides type-aware formatting for all supported field types: date, datetime, time, daterange, slider, buttongroup, radio, dropdown, checkbox.

    Index

    Constructors

    Methods

    • Format a date string for display.

      Parameters

      • value: string

        ISO date string

      • includeTime: boolean

        Whether to include time in the output

      Returns string

    • Format a value for display, using schema info when available. Resolves choice labels and applies type-specific formatting.

      Parameters

      • value: unknown
      • question: FormQuestion | null
      • type: string | null

      Returns string

    • Format a value for display with HTML escaping applied. Convenience wrapper combining FormatValue + EscapeHtml.

      Parameters

      • value: unknown
      • question: FormQuestion | null
      • type: string | null

      Returns string