---
- 
  #Default (dynamic) form configuration. This data is used as the initial,
  #minimal data for dynamic forms that ships with the system.
  #Fields:
  #id:       Used only if associated with a help topic
  #title:    Bold section title of the form
  #instructions: Title deck, detailed instructions on entering form data
  #notes:    Notes for the form, shown under the fields
  #flags:
  #0x0001  If the form can be removed from the system
  #fields:   List of fields for the form
  #type:       Field type (short name) (eg. 'text', 'memo', 'phone', ...)
  #label:      Field label shown to the user
  #name:       Name used with the data internally. This is especially
  #useful for page and email templates, where %{ ticket.<name> }
  #will be used to retrieve the data from the field.
  #hint:       Help text shown with the field
  #flags:      Bit mask for settings & options
  ## From class DynamicFormField
  #const FLAG_MASK_CHANGE      = 0x0010;     # Type cannot change
  #const FLAG_MASK_DELETE      = 0x0020;     # Cannot be deleted
  #const FLAG_MASK_EDIT        = 0x0040;     # Data cannot be edited
  #const FLAG_MASK_DISABLE     = 0x0080;     # Field cannot be disabled
  #const FLAG_MASK_REQUIRE     = 0x10000;    # Requirement cannot be changed
  #const FLAG_MASK_VIEW        = 0x20000;    # View settings cannot be changed
  #const FLAG_MASK_NAME        = 0x40000;    # Name cannot be changed
  #configuration: Field-specific configuration
  #size:     (text) width of the field
  #length:   (text) maximum size of the data in the field
  #cols:     (memo) width of the textarea
  #rows:     (memo) height of the textarea
  #---
  id: 1
  type: U #notrans
  title: 聯絡資訊
  flags: 0
  fields:
    - 
      type: text #notrans
      name: email #notrans
      label: 電子信箱
      sort: 1
      flags: 489395
      configuration:
        size: 40
        length: 64
        validator: email #notrans
    - 
      type: text #notrans
      name: name #notrans
      label: 全名
      sort: 0
      flags: 489395
      configuration:
        size: 40
        length: 64
    - 
      type: phone #notrans
      name: phone #notrans
      label: 電話號碼
      sort: 3
      flags: 13057
    - 
      type: memo #notrans
      name: notes
      label: 內部備註
      sort: 4
      flags: 12289
      configuration:
        rows: 4
        cols: 40
- 
  id: 0
  type: T #notrans
  title: 案件詳細資訊
  instructions: 請敘述您的問題
  notes: |
    此表單將會附加在事件資訊中。您可以將任何欄位添加到此表單和他們將可應用在事件資訊，可一般搜尋與進階搜尋與篩選。
  flags: 0
  fields:
    - 
      id: 20
      type: text #notrans
      name: subject #notrans
      label: 問題摘要
      sort: 1
      flags: 489265
      configuration:
        size: 40
        length: 50
    - 
      id: 21
      type: thread #notrans
      name: message #notrans
      label: 問題詳細資訊
      hint: 查詢事件原因的詳細資訊。
      sort: 0
      flags: 480547
    - 
      id: 22
      type: priority #notrans
      name: priority #notrans
      label: 優先等級
      flags: 274609
      sort: 3
- 
  type: C #notrans
  title: 公司資訊
  instructions: 詳細資訊在電子信箱範例。
  flags: 0
  fields:
    - 
      type: text #notrans
      name: name #notrans
      label: 公司名稱
      sort: 1
      flags: 291249
      configuration:
        size: 40
        length: 64
    - 
      type: text #notrans
      name: website #notrans
      label: 網站
      sort: 0
      flags: 274705
      configuration:
        size: 40
        length: 64
    - 
      type: phone #notrans
      name: phone #notrans
      label: 電話號碼
      sort: 3
      flags: 274705
      configuration:
        ext: false
    - 
      type: memo #notrans
      name: address
      label: 地址
      sort: 4
      flags: 12545
      configuration:
        rows: 0
        cols: 40
        html: false
        length: 100
- 
  type: O #notrans
  title: 機構資訊
  instructions: 使用者機構的詳細資訊
  flags: 0
  fields:
    - 
      type: text #notrans
      name: name #notrans
      label: 名稱
      sort: 1
      flags: 489395
      configuration:
        size: 40
        length: 64
    - 
      type: memo
      name: address
      label: 地址
      sort: 0
      flags: 13057
      configuration:
        rows: 0
        cols: 40
        length: 100
        html: false
    - 
      type: phone
      name: phone
      label: 電話
      sort: 3
      flags: 13057
    - 
      type: text
      name: website
      label: 網站
      sort: 4
      flags: 13057
      configuration:
        size: 40
        length: 0
    - 
      type: memo #notrans
      name: notes
      label: 內部備註
      sort: 5
      flags: 12289
      configuration:
        rows: 4
        cols: 40
- 
  type: A #notrans
  title: Task Details
  instructions: Please Describe The Issue
  notes: |
    This form is used to create a task.
  flags: 0
  fields:
    - 
      type: text #notrans
      name: title #notrans
      flags: 290993
      sort: 1
      label: 標題
      configuration:
        size: 40
        length: 50
    - 
      type: thread #notrans
      name: description #notrans
      flags: 282867
      sort: 0
      label: 說明
      hint: Details on the reason(s) for creating the task.
