(form "70031" (size 40 10)
  
  (heading "CHARGING PARAMETERS")

  (label (position  5 3) (text "Charging method"))
  (label (position  5 4) (text "Critical radius"))
  (label (position  5 5) (text "Stemming"))
  (label (position  5 6) (text "Hole colour"))
  (label (position  5 7) (text "Explosive"))

  (field "method" (position 20 3) (display_length 5)
    (input allowed)
    (value_in "critical radius" "AECI algorithm")
    (null disallowed)
    (max_length 15)
    (default "Critical radius")
    )

  (field "crit_rad" (position 20 4) (display_length 9) 
    (input allowed)
    (translate upper) 
    (format real_8) 
    (null disallowed) 
    (max_length 8)
    (low_bound 0.0)
    (dependency (value "method") == "critical radius")
  )

  (field "stemming" (position 20 5) (display_length 9) 
    (input allowed)
    (translate upper) 
    (format real_8) 
    (null disallowed) 
    (max_length 8)
    (low_bound 0.0)
    (dependency (value "method") == "critical radius")
  )

  (field "colour" (position 20 6) (display_length 9)
    (input allowed)
    (translate lower)
    (null disallowed)
    (format colour)
    (max_length 32)
    (default "light grey")
    )

  (field "explosive" (position 20 7) (display_length 16) 
    (input allowed)
    (null disallowed) 
    (max_length 16)
    )

  (field "minimum_charge_length" (position 20 8) (display_length 9) 
    (input allowed)
    (format real_8) 
    (null disallowed) 
    (max_length 8)
    (low_bound 0.0)
  )

  (default_buttons)
)
