Forums

This topic is locked

Iv'e searched, no luck. re: add photo to form

Posted 23 Sep 2007 22:34:49
1
has voted
23 Sep 2007 22:34:49 Ron Reyns posted:
Hello, a newbie here. Very new to the whole web site tech stuff. I am a volunteer web site director for a non profit fishing club. I am trying to set the web site up for easier use and updates. Some of it I have fudged my way through, some of it I did searchs on and some of it I got hands on help with.

My next problem has stumped everyone and every search I have tried.

Here is the code to a form which was left on the web site for me to work with.

<font color=blue>&lt;form METHOD="post" ENCTYPE="text/plain" ACTION="mailto: ?subject=photo"&gt;

&lt;input type=hidden name="recipient" value=" "&gt;
&lt;input type=hidden name="subject" value="photo"&gt;
&lt;input type=hidden name="subject2" value="photo"&gt;
&lt;table width="89%" border="1" align="center" bgcolor="#33CCFF"&gt;
&lt;tr bgcolor="#6699FF"&gt;
&lt;td colspan="2"&gt; &lt;div align="center"&gt;&lt;strong&gt;Submission
Information&lt;/strong&gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Angler Name:&lt;/td&gt;
&lt;td&gt;&lt;input name="Angler Name" type="text" size="50" tabindex="1"&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Chapter:&lt;/td&gt;
&lt;td&gt;&lt;select name="Chapter" tabindex="2"&gt;
&lt;option&gt;Belle River&lt;/option&gt;
&lt;option&gt;Gananoque & 1000 Islands&lt;/option&gt;
&lt;option&gt;Hamilton&lt;/option&gt;
&lt;option&gt;Kitchener-Waterloo&lt;/option&gt;
&lt;option&gt;Montreal&lt;/option&gt;
&lt;option&gt;Ottawa Valley&lt;/option&gt;
&lt;option&gt;Sudbury&lt;/option&gt;
&lt;option&gt;Toronto&lt;/option&gt;
&lt;/select&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fish Length:&lt;/td&gt;
&lt;td&gt;&lt;select name="Fish Length" tabindex="3"&gt;
&lt;option&gt;N/A&lt;/option&gt;
&lt;option&gt;30"&lt;/option&gt;
&lt;option&gt;31"&lt;/option&gt;
&lt;option&gt;32"&lt;/option&gt;
&lt;option&gt;33"&lt;/option&gt;
&lt;option&gt;34"&lt;/option&gt;
&lt;option&gt;35"&lt;/option&gt;
&lt;option&gt;36"&lt;/option&gt;
&lt;option&gt;37"&lt;/option&gt;
&lt;option&gt;38"&lt;/option&gt;
&lt;option&gt;39"&lt;/option&gt;
&lt;option&gt;40"&lt;/option&gt;
&lt;option&gt;41"&lt;/option&gt;
&lt;option&gt;42"&lt;/option&gt;
&lt;option&gt;43"&lt;/option&gt;
&lt;option&gt;44"&lt;/option&gt;
&lt;option&gt;45"&lt;/option&gt;
&lt;option&gt;46"&lt;/option&gt;
&lt;option&gt;47"&lt;/option&gt;
&lt;option&gt;48"&lt;/option&gt;
&lt;option&gt;49"&lt;/option&gt;
&lt;option&gt;50"&lt;/option&gt;
&lt;option&gt;51"&lt;/option&gt;
&lt;option&gt;52"&lt;/option&gt;
&lt;option&gt;53"&lt;/option&gt;
&lt;option&gt;54"&lt;/option&gt;
&lt;option&gt;55"&lt;/option&gt;
&lt;option&gt;56"&lt;/option&gt;
&lt;option&gt;57"&lt;/option&gt;
&lt;option&gt;58"&lt;/option&gt;
&lt;option&gt;59"&lt;/option&gt;
&lt;option&gt;60"&lt;/option&gt;
&lt;option&gt;61"&lt;/option&gt;
&lt;/select&gt; &lt;font size="2"&gt;Indicate N/A if not available&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fish Girth:&lt;/td&gt;
&lt;td&gt;&lt;select name="Fish Girth" tabindex="4"&gt;
&lt;option&gt;N/A&lt;/option&gt;
&lt;option&gt;12"&lt;/option&gt;
&lt;option&gt;13"&lt;/option&gt;
&lt;option&gt;14"&lt;/option&gt;
&lt;option&gt;15"&lt;/option&gt;
&lt;option&gt;16"&lt;/option&gt;
&lt;option&gt;17"&lt;/option&gt;
&lt;option&gt;18"&lt;/option&gt;
&lt;option&gt;19"&lt;/option&gt;
&lt;option&gt;20"&lt;/option&gt;
&lt;option&gt;21"&lt;/option&gt;
&lt;option&gt;22"&lt;/option&gt;
&lt;option&gt;23"&lt;/option&gt;
&lt;option&gt;24"&lt;/option&gt;
&lt;option&gt;25"&lt;/option&gt;
&lt;option&gt;26"&lt;/option&gt;
&lt;option&gt;27"&lt;/option&gt;
&lt;option&gt;28"&lt;/option&gt;
&lt;option&gt;29"&lt;/option&gt;
&lt;option&gt;30"&lt;/option&gt;
&lt;option&gt;31"&lt;/option&gt;
&lt;option&gt;32"&lt;/option&gt;
&lt;option&gt;33"&lt;/option&gt;
&lt;option&gt;34"&lt;/option&gt;
&lt;/select&gt;
&lt;font size="2"&gt;Indicate N/A if not available&lt;/font&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Photo 1:&lt;/td&gt;
&lt;td&gt;&lt;input type="file" name="Photo1" tabindex="5"&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Photo 2:&lt;/td&gt;
&lt;td&gt;&lt;input type="file" name="Photo2" tabindex="6"&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="101"&gt;Photo Description:&lt;/td&gt;
&lt;td&gt;&lt;textarea name="Description" cols="50" rows="5" tabindex="7"&gt;&lt;/textarea&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="2"&gt;&lt;div align="center"&gt;
&lt;input type="submit" id="Submit" tabindex="8" value="Submit"&gt;
&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt; &lt;/form&gt;</font id=blue>

Here is an image of the form.
<img src="www.muskiescanada.ca/images/photosub.jpg" border=0>

Here is the link:
www.muskiescanada.ca/photosubmit.htm

The problem I'm having is with the photo submission (photo 1, photo 2).
You can enter your location but I am not receiveing the image in the email. Any ideas on what's wrong?



Forgot to mention, I am using Dreamweaver MX 2004 v 7.0. (html code with template)


Edited by - tacklelogic on 24 Sep 2007 02:19:44

Replies

Replied 19 Oct 2007 18:28:13
19 Oct 2007 18:28:13 Ron Reyns replied:
Well I have changed the coding a little and still can't seem to get the form to recognize the file path. It goes to the email but will not relay the file path on the email. I am still at a loss.

www.muskiescanada.ca/work%20in%20progress/photo_submission.htm

Please help!!!

Reply to this topic