Solved

Configuring Form Results

Posted on 1998-01-27
2
192 Views
Last Modified: 2013-12-25
I am using the following form on a page at my site at http://www.geocities.com/Athens/Forum/3709/sbcs.html and have it configured to send the results of a submission to me automatically.
------------------------------------------------------------
<FORM METHOD=POST ACTION="/cgi-bin/homestead/mail.pl?lhutton">
<dl>

<dt>
<b>SURNAME</b><P>
<dd><INPUT TYPE="TEXT" NAME="SURNAME             " SIZE=30,1 MAXLENGTH=20><br>
<dd>Example: <b>HOW</b>
<P>

<dt>
<b>Forenames</b><P>
<dd><INPUT TYPE="TEXT" NAME="Forenames           " SIZE=30,1 MAXLENGTH=50><br>
<dd>Example: <b>George McGregor</b>
<P>

<dt>
<b>Date of Birth</b><P>
<dd><INPUT TYPE="TEXT" NAME="Date of Birth       " SIZE=30,1 MAXLENGTH=9><br>
<dd>Example: <b>23APR1910</b>
<P>

<dt>
<b>Town/City</b><P>
<dd><INPUT TYPE="TEXT" NAME="Town/City           " SIZE=30,1 MAXLENGTH=30><br>
<dd>Example: <b>Waitara</b>
<P>

<dt>
<b>Your contact E-Mail address</b><P>
<dd><INPUT TYPE="TEXT" NAME="E-Mail              " VALUE="mailto:" SIZE=30,1 MAXLENGTH=30><br>
<dd>Example: <b>mailto:relf.hutt@xtra.co.nz</b>
<dd><i>Please ensure "mailto:" is directly before your actual E-Mail address</i>
<P>
<dt>

<b>Is the certificate available?</b><P>
<dd><INPUT TYPE="radio" NAME="Available           " VALUE="Available">Available
<dd><INPUT TYPE="radio" NAME="Unavailable         " VALUE="Unavailable">Unavailable

</dl>
<p>

<h3>Thank you for completing the Birth Certificate Submissions form. By pressing Submit, your details will be sent and you will be transferred back to the New Zealand Births, Deaths and Marriages Exchange.</h3>

<INPUT TYPE="SUBMIT" VALUE="Submit"> <INPUT TYPE="RESET" VALUE="Reset">

<P>
</p align=left>

<INPUT TYPE="hidden" NAME="subject" VALUE="Birth Certificate Submission">

<INPUT TYPE="hidden" NAME="next-url" VALUE="http://www.geocities.com/Athens/Forum/3709/exchange.html">
</FORM>
------------------------------------------------------------
The results that are sent look like this:
------------------------------------------------------------
Subject:
        Birth Certificate Submission
  Date:
        Tue, 27 Jan 1998 00:04:37 -0800 (PST)
  From:
        relf.hutt@xtra.co.nz (Geocities WebMonitor mail)
    To:
        relf.hutt@xtra.co.nz


Sent from Mail Form posted at:   http://www.geocities.com/Athens/Forum/3709/sbcs.html

(SURNAME             )  HOW
(Forenames           )  George McGregor
(Date of Birth       )  23APR1910
(Town/City           )  Waitara
(E-Mail              )  mailto:relf.hutt@xtra.co.nz
(Unavailable         )  Unavailable
(subject)  Birth Certificate Submission
(next-url)  http://www.geocities.com/Athens/Forum/3709/exchange.html

Remote IP: 202.27.156.20
------------------------------------------------------------
I want to know how I can configure the form to send results that would be set out as follows, so that I can simply cut and paste the text, without having to edit anything.
------------------------------------------------------------
HOW George McGregor 23APR1910 Waitara <a href="mailto:relf.hutt@xtra.co.nz">relf.hutt@xtra.co.nz</a><br>
------------------------------------------------------------


Sorry about the amount of points, but it's all I have. I will increase them as I can.


Please help.
0
Comment
Question by:lhutton
2 Comments
 
LVL 6

Accepted Solution

by:
tecbuilder earned 10 total points
ID: 1856723
Sorry, but the simple answer is that you cannot change how the format of the email looks when it gets sent to you.  This is, as martike says, CGI driven and Geocities doesn't and won't give access to the the CGI-BIN directory for your own CGI script.  Sorry for the bad news, but that's just how Geocities and most other free web-site services operate.

regards
Geocities' Colosseum Community Leader
tecbuilder
0
 

Author Comment

by:lhutton
ID: 1856724
OK then.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to count occurrences of each item in an array.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now