Difference between revisions of "CSC220 Homework 3 2010"

From dftwiki3
Jump to: navigation, search
(Problem #1)
(Problem #1)
Line 18: Line 18:
 
<center>[[Image:csc220FormHomework3a.png]]</center>
 
<center>[[Image:csc220FormHomework3a.png]]</center>
  
<P>
+
:and the same form, without the select box opened:
  
 
<center>[[Image:csc220FormHomework3b.png]]</center>
 
<center>[[Image:csc220FormHomework3b.png]]</center>
Line 26: Line 26:
 
** her name
 
** her name
 
** her email
 
** her email
**
+
** how she heard about this experiment/project
 +
** whether she will be using her own phone
 +
** which days of the week she will be participating (can be 0, several, or all)
 +
** her status at Smith (First year, sophomore, junior, senior, ada, faculty, or other) (for right now, feel free to indicate others)
 +
** a check box indicating that she has read some legal document and is willing to participate.
 +
 
 +
* Your form should also sport a reset button to reset all the fields, and a submit button to submit it.
 +
 
 +
* Your form should be called '''hw3form.htm'''
 +
 
 +
* It should have an associated php processing program called '''hw3process.php''', which will take the contents of the form and display it in a human readable way (for example, as you did in the second part of [[CSC220 Lab 4 201 | Lab 4]]).
 +
 
 +
 
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
[[Category:CSC220]][[Category:Homework]]

Revision as of 08:57, 30 September 2010

--D. Thiebaut 13:47, 30 September 2010 (UTC)



By popular demand, the due date for this semester is moved to Thursday night. This assignment is due Thursday Oct. 7th at 11:59 p.m. + 1 minute.



Problem #1

  • The purpose of this assignmennt is for you to write an html form and a php program processing the form.
  • the images below show the form, along with its input widgets:
Csc220FormHomework3a.png
and the same form, without the select box opened:
Csc220FormHomework3b.png


  • The form illustrated here has very little ornementation. Feel free to modify it, and reformat it differently, as long as we can still use it get the following information from a participant:
    • her name
    • her email
    • how she heard about this experiment/project
    • whether she will be using her own phone
    • which days of the week she will be participating (can be 0, several, or all)
    • her status at Smith (First year, sophomore, junior, senior, ada, faculty, or other) (for right now, feel free to indicate others)
    • a check box indicating that she has read some legal document and is willing to participate.
  • Your form should also sport a reset button to reset all the fields, and a submit button to submit it.
  • Your form should be called hw3form.htm
  • It should have an associated php processing program called hw3process.php, which will take the contents of the form and display it in a human readable way (for example, as you did in the second part of Lab 4).