Let us know if you would like this program installed for use with your web space. BNBform email setup: All config information is set up in the html form document (like this one) that you create. When the Submit button is pressed, this form will be submitted to the form processing script at http://www.westford.com/bin/bnbform30a.cgi This script will read the form data and config information in the html document that you created and will process the form accordingly. To create your own form, download this file and open it in a text editor such as Wordpad, or an HTML editor like Macromedia Homesite. Follow the config information embedded in the document (also show below). You can change the appearance of the document using web page editors such as Netscape Composer, Microsoft Front Page or Macromedia Dreamweaver. All form tags and comments will show up as yellow tag marks in Netscape and Dreamweaver. You can click on one and edit the tag, but you will only see one tag line at a time. You can change the tags in Front Page using the form tools. You can also insert new input lines. This form will only work from web space on www.westford.com. The field names submit_by and submit_to are unique and should be used for the email of the person filling out the form (submit_by) and for the email address of the form recipient (submit_to). Don't change these names. For the submit_to input, set the value to be the recipients email address. All other field names can be changed. Feel free to test out the form. You will receive an auto response. To see how the data will come to you, see the output at the end of this page.
Shown below is the HTML code for the form above. <!-- This line shows how you make a comment in html --> <!-- Do not edit the next line. This is the path to the form processing
script -->
<!-- The area below uses standard html input method to collect the
form data -->
Your Name:* <BR>
Country:*
<BR>
E-Mail Address:* <BR>
Add to Mailing List: <INPUT TYPE="RADIO" NAME="mailing_list"
VALUE="YES" CHECKED>Yes
Which fruit(s) do you like:<BR>
<!-- Example of a text area entry -->
<P>
<P>
<!-- SCRIPT CONFIGURATION SECTION This is how the info will be processed. Input NAMEs in this section must be as shown below. Input VALUEs are based on your input NAMEs in the fileds above..--> <!-- What information is required? If fields listed in value
are left blank, oops page will show up. If nothing is required,
you may delete the next line.--> <!-- What order do you want the data to show up in? -->
<!-- Where do you want the information emailed too? Can be multi
addresses, just use a comma in between. NAME must be submit_to -->
<!-- Do you want to send back an automated reply? -->
<!-- If so, what is the name of that file? Note: You need to enter
the path from /bin. For most cases, replace clubs with the name
of your directory space. Example: www.westford.com/club/message.txt would
have the path ./../club/message.txt --> <!-- Give the form a name so you can identify it when the email comes
in. -->
<!-- The page displayed for a proper submission. Replace club in
the path.--> <!-- The page displayed if not all of the info is filled in. Replace
club in the path. --> <!-- END OF SCRIPT CONFIGURATION SECTION -->
This is what the data will look like when you receive
it.
On Fri Mar 3 12:06:36 2000, The following information was submitted: Host: 207.132.45.127 name = Jane Smith country = USA submit_by = jsmith@westford.com mailing_list = YES grape = banana = apple = YES comments = Nice web page season = summer |