Zaloguj | Zarejestruj | FAQ

Form to email with attachment

+ Odpowiedz

Posty: 2 Strona 1 z 1

Form to email with attachment

przez 3vilt3ddy23 » So cze 27, 2015 10:44 pm

I have been working on a website for my wife's company but I am not sure how to get my page to email a form with an attachment. I want people to be able to fill out a little information and email their resume. Can someone please tell me what I need to do to get it to wok.

Kod: Zaznacz cały
<a id="top"></a>
<p><img src="Images/Code Blue Animation.gif" width="800" height="350" alt="Animation" Hspace= "200" Vspace= "0" /></p>
<ul class= "navbar">
<li><a href="index.html">Home</a></li>
<li><a href="resumes.html"> Resumes</a></li>
<li><a href="contactus.html">Contact Us</a></li>
<br />
<br />
<hr width="100%" />

<p>Please provide your personal information along with your a copy of your resume.</p>
<form name="resume" action="" method="post">
<p> First Name:   <input type="text"
id="FirstName" size="30" /></p>
<p> Last Name:   <input type="text" id="LastName"
<p><input type="radio" name="gender" value="Male"
<input type="radio" name="gender" value="Female"/>Female</p>
<p> Phone Number:  <input type="text" id="Phone"
<p>Email: <input type="text" id="Email" size="45"/></p>
<p>Address: <input type="text" id="Address" size="70"></textarea></p>
<p>Additional Comments:  <textarea id="Comments" cols="45" rows="5"></textarea></p>
<p>File to upload: <input type="file" id="upfile">
<p> Do you have at least one year of Medical/Surgical or Telemetry experience?</p>
<p><input type="checkbox"
id="Yes" value="yes"/> Yes</p>
<p>Nursing Level: <select id="Level" size+"1">
<button type="submit">Submit</button>


<p><a href="#top">Back to Top</a></p>
Avatar użytkownika


  • Posty: 2
  • Dołączył(a): So cze 27, 2015 10:38 pm

Re: Form to email with attachment

przez emily008 » Śr paź 07, 2015 7:06 am

You should use enctype="multipart/form-data" attribute for <form> tag if you wan to upload something using a <form>.
In fact the code doesn't seems good.
Avatar użytkownika


  • Posty: 8
  • Dołączył(a): Śr paź 07, 2015 6:29 am
  • Lokalizacja: London
For more visit HTML Tutorial

+ Odpowiedz

Strona 1 z 1