<html><!-- #BeginTemplate "/Templates/2002.dwt" --><!-- DW6 -->
<head>
<!-- #BeginEditable "doctitle" -->
<title>BETA Form Instructions</title><!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#003300" onLoad="MM_preloadImages('../../../img/2002logo-alt-over.gif')" leftmargin="0" topmargin="20" link="#0033CC" vlink="#009933" alink="#66CC66" background="../../../img/background2002.jpg">
<font face="Arial, Helvetica, sans-serif"> </font> <font face="Arial, Helvetica, sans-serif"> 
<table width="100%" border="0" cellspacing="0" cellpadding="10">
  <tr>
    <td rowspan="3" width="163" valign="top" align="left"> 
      <p><a href="../../index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Logo','','../../../img/2002logo-alt-over.gif',1)"><img name="Logo" border="0" src="../../../img/2002logo-alt.gif" width="150" height="150"></a></p>
      <table width="100%" border="0" cellspacing="10" cellpadding="0">
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002home.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value="."><param name="BGCOLOR" value="#006600">
              
              <embed src="/Templates/2002home.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002about.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002about.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002homerooms.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002homerooms.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002curriculum.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002curriculum.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002software.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002software.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002mentor.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002mentor.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002projects.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002projects.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002feedback.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002feedback.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002search.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002search.swf" base=""  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
      </table>
      <div align="center"></div>
          </td>
    <td valign="top" align="left" colspan="2" height="47"> 
      <h1><!-- #BeginEditable "title" --><font color="#003300" face="Arial, Helvetica, sans-serif">Form 
        Instructions </font> <!-- #EndEditable --></h1>
    </td>
  </tr>
  <tr> 
    <td colspan="2" valign="top" align="left"> <!-- #BeginEditable "body" --> 
      <p> <font face="Arial, Helvetica, sans-serif"> 
        <script language="JavaScript" type="text/JavaScript">

var months = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
var days = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
var lmod = new Date(document.lastModified); var H = lmod.getHours(document.lastModified); var MI = lmod.getMinutes(document.lastModified); var S = lmod.getSeconds(document.lastModified); var Da = lmod.getDay(document.lastModified); var MO = lmod.getMonth(document.lastModified); var D = lmod.getDate(document.lastModified); var Y = lmod.getFullYear(document.lastModified); var AM =" AM";
if(H>12){H=H-12;AM=" PM";}if(H<10){H="0"+H;}if(MI<10){MI="0"+MI;}if(S<10){S="0"+S;}
var T = days[Da]+ ", "+months[MO]+" "+D+", "+Y;

var now = new Date(); var H = now.getHours(); var MI = now.getMinutes(); var S = now.getSeconds(); var Da = now.getDay(); var M = now.getMonth(); var D = now.getDate(); var Y = now.getFullYear(); var AM =" AM";
if(H<10){H="0"+H;}if(MI<10){MI="0"+MI;}if(S<10){S="0"+S;}
var TO = days[Da]+ ", "+months[M]+" "+D+", "+Y+" <br>and the server time is "+H+":"+MI+":"+S;
document.writeln("Today is "+TO+".");
//
</script>
        </font></p>
      <table width="100%" border="1" bgcolor="#FFFFFF" bordercolor="#000000">
        <tr> 
          <td> <div align="center"><font face="Arial, Helvetica, sans-serif"><a href="index.htm">Home</a></font></div></td>
          <td> <div align="center"><font face="Arial, Helvetica, sans-serif"><a href="schedule.htm">Schedule</a></font></div></td>
          <td> <div align="center"><font face="Arial, Helvetica, sans-serif"><a href="participants.htm">Participants</a></font></div></td>
          <td> <div align="center"><font face="Arial, Helvetica, sans-serif"><a href="siteofday.htm">Site-of-the-Day</a></font></div></td>
          <td> <div align="center"><font face="Arial, Helvetica, sans-serif"><a href="projects.htm">Projects</a></font></div></td>
        </tr>
      </table>
      <p>&nbsp;</p>
      <p>Click <a href="betaform.htm">HERE</a> for a sample form. <font face="Arial, Helvetica, sans-serif"> 
        Try it (!):</font></p>
      <p><font face="Arial, Helvetica, sans-serif">Op</font>en a new file in Dreamweaver. 
        Save it as<font face="Arial, Helvetica, sans-serif"> form1.htm.</font></p>
      <p><font face="Arial, Helvetica, sans-serif">Make sure your Properties box 
        is open at all times (!). (Under Window, look for Properties.)</font></p>
      <p><font face="Arial, Helvetica, sans-serif">Write the following. This is 
        my first form.</font></p>
      <p><font face="Arial, Helvetica, sans-serif">From the Insert menu, choose 
        Form. This tells Dreamweaver that you would like to begin a form. You 
        should see a thin, red, dotted-line box on the screen. If not, go to the 
        View men, to Visual Aids, to Invisible Elements. Look down at the Properties 
        box. It should look like this:</font></p>
      <p><img src="properties.jpg" width="670" height="109"></p>
      <p>You can <font face="Arial, Helvetica, sans-serif">name the form whatever 
        you want. For now, leave it as is. You may also leave the rest of the 
        information, but the following must be pasted (or typed!) into <strong>Action</strong>:</font></p>
      <p>http://cuip.uchicago.edu/cgi-bin/CGI-Perl-cookbook/FormHandler/FormHandler.pl</p>
      <p><font face="Arial, Helvetica, sans-serif">Next,experiment with form objects. 
        <strong>Make sure the cursor remains inside the red dotted line box that 
        appeared when you inserted the Form.</strong> Begin by choosing a text 
        field. (From the Insert menu, choose Form Objects</font>, text<font face="Arial, Helvetica, sans-serif"> 
        field. Then type your name next to it.</font> Note that the ord<font face="Arial, Helvetica, sans-serif">er 
        of the form object with text does not matter. For example:</font></p>
      <table width="100%" border="0">
        <tr> 
          <td align="center" valign="middle"><img src="yourname1.jpg" width="249" height="26"></td>
          <td align="center" valign="middle"><img src="yourname2.jpg" width="248" height="35"></td>
        </tr>
      </table>
      <p><font face="Arial, Helvetica, sans-serif">Add a Textarea. From the Insert 
        menu, choose Form Objects, textarea. For example:</font></p>
      <p align="center"><img src="textarea.jpg" width="315" height="183"></p>
      <p align="left">Add a List<font face="Arial, Helvetica, sans-serif">/Menu 
        item. From the Insert menu, choose Form Objects, List/Menu. For example:</font></p>
      <table width="100%" border="0">
        <tr> 
          <td align="center" valign="middle"><img src="menulist.jpg" width="243" height="69"></td>
          <td align="center"><img src="menulist2.jpg" width="245" height="107"></td>
        </tr>
      </table>
      <p align="left"><font face="Arial, Helvetica, sans-serif">Finally (for now), 
        add some buttons. From the Insert menu, choose Form Objects, button. The 
        button name will default to <strong>submit</strong>. The label will also 
        default to <strong>submit</strong>. The action will default to <strong>Submit 
        form</strong>. Next, add a reset button. From the Insert menu, choose 
        Form Objects, button. This time, change the button name to <strong>reset</strong>, 
        and change the action to <strong>Reset form</strong>. The label will change 
        automatically. </font></p>
      <p><font face="Arial, Helvetica, sans-serif">Save your form. </font></p>
      <p>Now for the fun part. Place your cursor <font face="Arial, Helvetica, sans-serif">in 
        front of the <strong>submit</strong> button. Click the code view button 
        in Dreamweaver. Yikes! You should see the following code:</font></p>
      <p> &lt;input type=&quot;submit&quot; name=&quot;Submit&quot; value=&quot;Submit&quot;&gt;<br>
        &lt;input name=&quot;Reset&quot; type=&quot;reset&quot; id=&quot;Reset&quot; 
        value=&quot;Reset&quot;&gt;</p>
      <p>&nbsp;</p>
      <p><font face="Arial, Helvetica, sans-serif">Right above this text, add 
        the following:</font></p>
      <p> &lt;input type=&quot;hidden&quot; name=&quot;recipient&quot; value=&quot;<font face="Arial, Helvetica, sans-serif">youremailaddress</font>@<font face="Arial, Helvetica, sans-serif">yourserviceprovider</font>&quot;&gt;<br>
        &lt;input type=&quot;hidden&quot; name=&quot;subject&quot; value=&quot;<font face="Arial, Helvetica, sans-serif">Forms</font> 
        Practice&quot;&gt;</p>
      <p><font face="Arial, Helvetica, sans-serif">You must add your own email 
        address for the value in the first line. You also can change the value 
        in the second line to fit the form you are making (e.g., &quot;Activity 
        1 Response&quot;).</font></p>
      <p><font face="Arial, Helvetica, sans-serif"><strong>Finally, you must insert 
        a text field somewhere in the document with a value of &quot;noemail@cuip.uchicago.edu&quot; 
        or &quot;youremailaddress@yourserviceprovider&quot;. The script that we 
        are using requires an email address in order for the form to be sent.</strong></font></p>
      <p><strong><font face="Arial, Helvetica, sans-serif">To do this, choose 
        Insert, File Objects, Text Field. The following will appear in the Properties 
        Box:</font></strong></p>
      <p><img src="properties_text.jpg" width="666" height="106"></p>
      <p><font face="Arial, Helvetica, sans-serif">Since the script requires an 
        email address, you need an initial value. The WIT 2002 site, for example, 
        uses: noemail@cuip.uchicago.edu for the initial value. You also need to 
        change the text field to email. The property box should look as follows:</font></p>
      <p><font face="Arial, Helvetica, sans-serif"><img src="properties_email.jpg" width="667" height="106"></font></p>
      <p><font face="Arial, Helvetica, sans-serif">You can a note to the web page 
        saying that your email address is optional. Or, if it is your students 
        using the form, then you may tell them that their work will not be graded 
        if no address is entered. It depends on how you plan to use the form.</font></p>
      <p><font face="Arial, Helvetica, sans-serif">Save the file. Upload it into 
        your server space.</font></p>
      <p><br>
      </p>
      <p>&nbsp; </p>
      <!-- #EndEditable --> </td>
  </tr>
  <tr> 
    <td colspan="2" valign="top" align="left"> 
      <table width="100%" border="3" cellspacing="3" cellpadding="5" bordercolor="#003300" align="left">
        <tr> 
          <td><h6 align="left"> <font color="#006600">The contents of the Web 
              Institute for Teachers website are Copyright 1999-2002, Graham School 
              of General Studies, University of Chicago. No one may print, copy, 
              or otherwise reproduce these materials without the express written 
              permission of the Director of the Web Institute for Teachers or 
              the Dean of the Graham School. All rights reserved. </font></h6>
            <h6 align="left"><font color="#006600"> The current time is 
              <!--#config timefmt="%I:%M %p on %A %b %d, %Y"-->
              <!--#echo var="DATE_LOCAL"-->
              . This page was last modified on 
              <!--#config timefmt="%b %d, %Y" -->
              <!--#echo var="LAST_MODIFIED"-->
              . It has had 
              <!--#exec cgi="/cgi-bin/nmi/textcounter/witcounter.pl"-->
              . </font></h6>
            <h6><font color="#006600">Please use the <a href="/2002/feedback/index.htm">Feedback</a> 
              button to tell us how you like this page.</font></h6>

			  </td>
        </tr>
      </table>
      <h6>&nbsp;</h6>
    </td>
  </tr>
</table>
</font>
</body>
<!-- #EndTemplate --></html>
