Next / Previous / Contents / TCC Help System / NM Tech homepage

4.2. General controls on the regional index page

These controls will appear at the top of the regional index.

Here is an example of the generated XHTML.

  <h1>Regional index for New Mexico</h1>
  <form method='get' action='hist.cgi'>
    <p>
      To generate a report showing all the records for one or more
      circles:
    </p>
    <ol>
      <li>
        <p>
          If you would like to limit your search to specific years,
          enter the first and/or last year numbers here.
          Leave these fields blank to select all years.
        </p>
        <p>
          <b>Year number 1 is 1900-1901; 110 is 2009-2010; and
          so on.</b>  In general, the CBC year number is the year
          of that Christmas minus 1899.
        </p>
        <table cellspacing='8' rules='none' border='0'>
          <tr>
            <td>
              <label for='FIRST_YEAR_ID'>
                First year no.
              </label>
              <input type='text' name='FIRST_YEAR_ENTRY'
                     id='FIRST_YEAR_ID' size='3' maxlength='3' />
            </td>
            <td>
              <label for='LAST_YEAR_ID'>
                Last year no.
              </label>
              <input type='text' name='LAST_YEAR_ENTRY'
                     id='LAST_YEAR_ID' size='3' maxlength='3' />
            </td>
          </tr>
        </table>
      </li>
      <li>
        <p>
          Select these options that affect the bird nomenclature.
        </p>
        <div>
          <input type='checkbox' name='LUMP_SUBSP_CB'
                 checked='checked' id='LUMP_SUBSP_ID' />
          <label for='LUMP_SUBSP_ID'>
            Combine all subspecific forms into one row for the
            species.
          </label>
        </div>
        <div>
          <input type='checkbox' name='NM_ALIAS_CB'
                  id='NM_ALIAS_ID' />
          <label for='NM_ALIAS_ID'>
            Use New Mexico alias rules (e.g., assume all Boat-tailed
            Grackles are Great-tailed).</label>
        </div>
      </li>
      <li>
        <p>
          To generate a history report, either:
        </p>
        <ul>
          <li>
            <p>
              Click on the name of a circle to get a report of just
              that circle.
            </p>
          </li>
          <li>
            <p>
              To get a report combining data from multiple circles:
            </p>
            <ol>
              <li>
                <p>
                  Select what to do when some of the selected circles
                  were worked in the same year.
                </p>
                <div>
                  <input type='radio' name='YEAR_LUMP_RADIOS'
                         value='1'
                         id='YEAR_LUMP_ON_ID'/>
                  <label for='YEAR_LUMP_ON_ID'>
                    Combine all circles for the same year into a
                    single column.
                  </label>
                </div>
                <div>
                  <input type='radio' name='YEAR_LUMP_RADIOS'
                         checked='checked' value='0'
                         id='YEAR_LUMP_OFF_ID'/>
                  <label for='year-lumping-off'>
                    Display each circle's data in a separate column.
                  </label>
                </div>
              </li>
              <li>
                Select one or more circles by clicking on the
                checkbox by each desired circle's name.
              </li>
              <li>
                Click this button:
                <input type='submit' name='ALL'
                       value='Report on selected circles' />
                <input type='reset' value='Clear the form' />
              </li>
            </ol>
          </li>
        </ul>
      </li>
    </ol>
    <hr/>
    ...main index follows here...
  </form>

For the XHTML design of index, see Section 4.3, “Format of regional page entries”.