(form "20150" (size 75 11)
  (heading "ADD ATTRIBUTES")
  (scroll_block "attributes" (position 5 4) (size 65 5)
     (extra 0 1)
     (scroll_size 80 50)
     (repeat interactive (grow 0 1) (instances 1 (min 1) (max 50)))
    (top
      (label (position  1 0) (text "Attribute Name"))
      (label (position 15 0) (text "Type"))
      (label (position 26 0) (text "Decimals"))
      (label (position 41 0) (text "Background Value"))
      (label (position 46 0) (text "Description / Expression"))
      
      )
    (main
      (field "name" (position 1 0) (display_length 12) (input allowed)
        (translate lower) (max_length "BM_MAX_ATT_NAME_LEN") (null allowed))
      (field "type" (position 15 0) 
        (display_length 7) 
        (input allowed)
        (max_length 15) 
        (value_in "character" "real" "integer" "float" "calculated")
        (translate lower))
      (field "decimals"(position 26 0)
        (display_length 5)
        (low_bound 0)
        (high_bound 9)
        (max_length 64) 
        (input allowed)
        (decimals 4) 
        (format integer_4)
        (null allowed))
      (field "bgv"(position 34 0)
        (display_length 10)
        (max_length 64) 
        (input allowed)
        (decimals 4) 
        (null allowed))
      (field "description"(position 46 0)
        (display_length 30)
        (max_length "BM_MAX_ATT_DESC_LENGTH") 
        (input allowed)
        (null allowed))
    )
  )
  (default_buttons)
)
