(form "00820" (size 35 14)
  (heading "SELECT PLOTTING DRAW AREAS"
  )

  (label (position 2 3) (text "Existing viewport"))
  (field "view_name" (position 15 3) (display_length 15) (input allowed)
    (max_length 32) (null allowed)
    )

  (label (position 2 4) (text "Existing border"))
  (field "border_id" (position 15 4) (display_length 15) (input allowed)
    (max_length 32) (null disallowed) (auto_next off) (translate upper)
    (dependency (value "view_name") == "")
    )
        
  (scroll_block "draw_areas" (position 2 7) (size 28 5)
    (extra 0 1)
    (scroll_size 28 20)
    (repeat interactive (grow 0 1) (instances 1 (min 1) (max 19)))
    (top
      (label (position 1 0) (text "Draw Area ID's to be displayed"))
    )
    (main
      (field "draw_area_id" (position 1 0) (display_length 24) (input allowed)
        (max_length 32) (null allowed) (translate upper)
        )
     )
  )

  (default_buttons)
)
