Solved

Configuring Form Results

Posted on 1998-01-27
2
191 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

760 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

16 Experts available now in Live!

Get 1:1 Help Now