Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
CelShade #1
HTML Forms
I'm currently designing a html form for the company I work for. I have the
required fields set up as needed. But the company also requires a File Field
to allow attachments to be sent direct to a persons email. Once I added the
File Field to the form the line of code changed to the following:
<form name="Billing" method="post" action="mailto:email add goes here"
enctype="multipart/form-data">
But when I submit the form it arrives in the persons email add as PostData.ATT
without any sign of the attached word document along with the entered fields.
The form is comprised entirely of HTML. I have also added the html code for
viewing.
Does anyone have any ideas on where I'm going wrong?
Many thanks.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<body>
<form name="Billing" method="post" action="mailto:email add goes here"
enctype="multipart/form-data">
<center>
<p><img src="No5 Black-PMS 1395.jpg" width="197" height="145"></p>
<p>PERSONAL INJURY/CLINICAL NEGLIGENCE BILLING DETAILS</p>
</center>
<table width="678" border="0">
<tr>
<td width="290"><u>CASE DETAILS</u></td>
<td width="378"><label></label></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td>Barrister:</td>
<td><label>
<input type="text" name="Barrister">
</label></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td>Case Reference:</td>
<td><label>
<input type="text" name="Case Reference">
</label></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td>Name of Case:</td>
<td><label>
<input type="text" name="Name of Case">
</label></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td>Solicitor:</td>
<td><label>
<input type="text" name="Solicitor">
</label></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td>Date of Work:</td>
<td><label>
<input type="text" name="Date of Work">
</label></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td>Type of Work:</td>
<td><label>
<input type="text" name="Type of Work">
</label></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td><u>FEE DETAILS</u></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td>Advice Preparation:</td>
<td><label>
<input name="Advice Preparation" type="text" id="Advice Preparation">
</label></td>
</tr>
<tr>
<td>Conference Preparation: </td>
<td><input name="Conference Preparation" type="text" id="Conference
Preparation"></td>
</tr>
<tr>
<td>Conference:</td>
<td><label>
<input name="Conference" type="text" id="Conference">
</label></td>
</tr>
<tr>
<td>Travel:</td>
<td><input name="Travel" type="text" id="Travel"></td>
</tr>
<tr>
<td> </td>
<td><label></label></td>
</tr>
<tr>
<td>Hearing Preparation: </td>
<td><label>
<input type="text" name="Hearing Preparation">
</label></td>
</tr>
<tr>
<td>Conference</td>
<td><label>
<input type="text" name="Conference">
</label></td>
</tr>
<tr>
<td>Hearing:</td>
<td><label>
<input type="text" name="Hearing">
</label></td>
</tr>
<tr>
<td>Travel:</td>
<td><label>
<input type="text" name="Travel">
</label></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td>Track and Value of Claim: </td>
<td><label>
<input type="text" name="Track and Value of Claim">
</label></td>
</tr>
<tr>
<td>Suggested Fee:</td>
<td><label>
<input name="Suggested Fee" type="text" value="£">
</label></td>
</tr>
<tr>
<td>Additional Comments not to appear on fee note: </td>
<td><label>
<textarea name="Comments" rows="5" cols="30"></textarea>
</label></td>
</tr>
<tr>
<td>Other Information to appear on fee note: </td>
<td><label>
<textarea name="Other Information" cols="60" rows="10"></textarea>
</label></td>
</tr>
<tr>
<td>Attachment:</td>
<td><label>
<input name="file" type="file" maxlength="300">
<input type="file" name="file2">
</label></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="Submit" value="Submit"></td>
</tr>
</table>
<p align="right">Issue 2 Aug 04 Form 622 </p>
</form>
</body>
</html>
CelShade Guest
-
Forms +HTML
Hullo, I am using DW MX 2004 and am experiemtning with using the content of forms to display beside some text - for example a dropdown combo number... -
Use HTML Labels in procession forms
Hi, I have a form with labels, like <form> <label for="organisation" accesskey="o">Name of your organisation</label> <input type="text"... -
cfdocument with html forms
hi all - i i have a page which has some a form on which i wanted output as a pdf document so that its printable or savable for records, however... -
HTML forms and PHP
Hi, As part of a group project I have been assigned to research how PHP can be used with HTML web forms. What I need to know is, is it possible... -
INSERT INTO using HTML forms
I'm having issues witht the code I'm writing. I've dealt with SQL before, although only for extracting data, not adding it to the database. I've... -
Michael Fesser #2
Re: HTML Forms
..oO(CelShade)
Before going any further, remove the 'mailto' and use a server-side>I'm currently designing a html form for the company I work for. I have the
>required fields set up as needed. But the company also requires a File Field
>to allow attachments to be sent direct to a persons email. Once I added the
>File Field to the form the line of code changed to the following:
>
> <form name="Billing" method="post" action="mailto:email add goes here"
>enctype="multipart/form-data">
script for processing the form. There are plenty of them available, just
have a look through the archives of these groups, as this question comes
up every few days.
[url]http://groups.google.com/group/macromedia.dreamweaver[/url]
[url]http://groups.google.com/group/macromedia.dreamweaver.appdev[/url]
Micha
Michael Fesser Guest



Reply With Quote

