| 2:47 pm on Aug 3, 2010 (gmt 0)|
That's not the part of the perl script that does the mail sending. Look for "fullname" in the script and see wether you can figure out how to enter the phone in the email or post the lines surrounding that.
| 7:39 pm on Aug 5, 2010 (gmt 0)|
thanks have sorted that now... but now have another issue. The site i am creating has 3 or 4 different forms on it. The next one has a drop down box, that they have to select a country. How can I get this info to show on the email? i have put the line in
<td><input type="text" id="tswCountry" name="Country" size="25" /></td>
But it doesnt seem to show anything that they have selected, ie England, Wales, Germany, Scotland etc... Sure I have it wrong somewhere ! Any help is appreciated
| 7:48 pm on Aug 5, 2010 (gmt 0)|
That's an input-field, a drop down would be a <select>-element. Have you added that to your form?
| 8:45 pm on Aug 5, 2010 (gmt 0)|
no -where would that go, or what would the code be for that?
| 9:27 pm on Aug 5, 2010 (gmt 0)|
depending on how your script works, it might be enough to throw in
You should look at (x)HTML if you want to do more fancy stuff on your form.
| 9:33 pm on Aug 5, 2010 (gmt 0)|
Yeah, I already have this in the form... I just cant seem to get it to send the selection through the formmail script... I dont know what the code will be either in the .pl or if it goes in the HTML
<td><font face="Verdana"><font size="2"><strong><label for="tswcountry">Country</label> </strong></font></font></td>
<option value="England" selected="selected">England</option>
<option value="Northern Ireland">Northern Ireland</option>
<option value="Republic of Ireland">Republic of Ireland</option>
| 9:42 pm on Aug 5, 2010 (gmt 0)|
the code to include the selected value in the email goes into the perl file that handles the form.
The value is sent the same way as a text-input would be, so just copy one of those that works and change the name.