Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default 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>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>Barrister:</td>
    <td><label>
    <input type="text" name="Barrister">
    </label></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>Case Reference:</td>
    <td><label>
    <input type="text" name="Case Reference">
    </label></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>Name of Case:</td>
    <td><label>
    <input type="text" name="Name of Case">
    </label></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>Solicitor:</td>
    <td><label>
    <input type="text" name="Solicitor">
    </label></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>Date of Work:</td>
    <td><label>
    <input type="text" name="Date of Work">
    </label></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>Type of Work:</td>
    <td><label>
    <input type="text" name="Type of Work">
    </label></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td><u>FEE DETAILS</u></td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</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>&nbsp;</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>&nbsp;</td>
    <td>&nbsp;</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="&pound;">
    </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>&nbsp;</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

  2. Similar Questions and Discussions

    1. 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...
    2. 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"...
    3. 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...
    4. 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...
    5. 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...
  3. #2

    Default Re: HTML Forms

    ..oO(CelShade)
    >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">
    Before going any further, remove the 'mailto' and use a server-side
    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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139