Because the names of form elements on the top-level page are
used to retrieve the form values in the regx.cgi script,
those names are defined in a separe topform module.
'''topform.py: Constants for the top-level page's form
Do not edit this file. It is extracted automatically from the
documentation, here:
http://www.nmt.edu/~shipman/z/cbc/cbchist/
Naming conventions:
_ENTRY: Text entry
_RADIOS: Radiobutton group name
_ID: Control id value
'''
#--
# Method value
#--
METHOD = 'get'
#--
# "First year no." and "Last year no." entry fields
#--
FIRST_YEAR_ENTRY = 'FIRST_YEAR_ENTRY'
FIRST_YEAR_ID = 'FIRST_YEAR_ID'
LAST_YEAR_ENTRY = 'LAST_YEAR_ENTRY'
LAST_YEAR_ID = 'LAST_YEAR_ID'
OVERLAP_ID = 'OVERLAP_ID'
OVERLAP_CB = 'OVERLAP_CB'
#--
# REG_RADIOS is the name of the radiobutton group for selecting
# a region. The id value of each radiobutton is the reg_code
# with REG_RADIO_ID appended.
#--
REG_RADIOS = 'REG_RADIOS'
_REG_RADIO_ID = '_REG_RADIO_ID'