HTML Form Bouncer

This application is a generic HTML form bouncer that will take the input submitted to it, combine it with a specified html page, and return the resulting page to the user. Technically, this application allows for the page to be returned as plain text, but that feature is pretty useless.

It is fairly important to recognize the process of creating the message to send to the user to fully exploit this application. The message is created by two pieces. The first piece is an html page, referred to as the html source page. The second piece is the form field data. These form fields are the data the user entered before hitting the submit button. The html source page does not have to be the same page that the user entered their data on. Therefore we can present one view to the user with clear instructions and lengthy detail and another completely different view with different instructions or formatting for the resulting page. As long as the form field names match up from one html page to the next, the data will make the transition.

The best way to learn to use this application is through the tutorial.
Also available is an HTML form E-mailer.

HTML Form Fields (case insensitive)
Field Name Required Default Value Possible Values Short Description
html_source Yes None fully qualified URL The URL to find the html source page
allow_defaults or
only_sub_if_passed
No 'no' 'y'/'yes' or 'no' If a different source page is used, this will allow default values on that page to come through
mailformat No 'text' 'text' or 'html' Format of mailed message, text or html
serverinfo No 'no' 'yes' or 'no' info for developers tacked onto end of page

Html source field
The purpose of the application is to merge data input by a user on an html form with another html source page and display those results to the user.
This field specifies the html source page to merge the data into.
All data of form fields (input, select, textarea, file uploads) with matching names (name="yatta") will be included.
NOTE: This field is NOT merged like other form fields. The incoming value will be used, but the default value on the html source page will be left alone.
e.g. <input type=hidden name="html_source" value="http://chico.nss.udel.edu/mailto/bounce_test.html">

Allow defaults (aka only_sub_if_passed) field
If this field is anything but 'no', the application will only replace/modify html fields if the corrosponding field has been submitted by the user. Thus default values on a different source file can pass through.
e.g. <input type=hidden name="allow_defaults" value="y">
e.g. <input type=hidden name="only_sub_if_passed" value="y">

Mailformat field
Specifies if a form is to be returned as an html file or as a plain text file. Defaults to html. Text is pretty much worthless.
text -> return as text
html -> return as html
e.g. <input type=hidden name="mailformat" value="html">

Serverinfo field
Including this field with a value of 'yes' will result in some server information useful to a developer being attached to the bottom of the mail message.
e.g. <input type=hidden name="serverinfo" value="yes">