#!/usr/bin/env python import cgi formStorage = cgi.FieldStorage() jobid = formStorage["jobid"].value # ..Present top-level form (the one in which all information is required) print """Content-type: text/html
   Test Case Specs
           User ID: 
           Case ID: 
         Case type:  CAM2  CCM3
            Year 1: 
   Number of years: 

   Control Case Specs
           User ID: 
           Case ID: 
         Case type:  USER  OBS  CAM2  CCM3
            Year 1: 
   Number of years: 

   All of the above fields are required

    
  
""" % jobid