Answers Search Help
Boston University home page
Forms: Introduction
 
 
 
 
    HTML Elements
 
 
 
 
 
 
 
    PonyExpress
 
 
 
 
    Form to E-mail
 
 
 
 
    Form to Datafile
 
 
 
 
    Form to Web Page
 
 
 
 
    Also See
   
 

Datafile Form Samples

The following links point to directories rather than files, so that you can readily see what files are involved in creating each type of PonyExpress form. In all cases, the actual form is named "form.html"; in typical situations this would be the index.html file within the directory.

Take advantage of your browser's "View/Source" menu option to look at the HTML for the forms in each of these examples.

  1. Order Form - Demonstrates outputting data into a TAB-delimited format, by using a hidden field named "database", with a value of "yes". Almost all database/spreadsheet programs can import TAB-delimited files. Note that it is also possible to write form data to an HTML page using the template method and output to a separate TAB-delimited file. This would allow you, for example, to capture only specific data fields into each file.
  2. Anonymous Survey - Another example of writing to a database.
  3. Survey with formlogin - By requiring the user to authenticate with formlogin, this survey gathers additional information about them from the BU directory.

 

WebCentral Using Publishing Learning Training Consulting WebCentral
Answers Search Help
NIS  |  OIT  |  Boston University  |   January 9, 2007