|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
How Dee Do, from me to you,,,
I am having some trouble with this simple online form, I want to leave a textarea or comments box for people to leave my company feedback. here is my code. <form action="MAILTO:richard.hargreaves@assigns.co.uk" method="post" enctype="text/plain"> <h3>Please tell others about your experiance<br>This form sends your feedback to Assigns Ltd</h3> First Name:<br><input type="text" name="name" size="50"> <br> Last Name:<br><input type="text" name="name" size="50"> <br> Company:<br><input type="text" name="company" size="50"> <br> eMail:<br><input type="text" name="mail" size="50"> <br> Comment:<br><textarea rows="10" cols="50"></textarea> <br><br> <input type="submit" value="Send"> <input type="reset" value="Reset"> </form> The comment: <textarea> at the bottom is not appearing in the email returned when clicking submit. I have tried adding an input attribute but that merely creates a small single line text box next to my big text area. Any ideas on how I can increase the size of a text box to multi line, or indeed get the text area to work and send the information to the email? Many Thanks Richard |
|
|||
|
Absolutely fantastic, how simple was that, new working code for all others in need is:
<form action="MAILTO:richard.hargreaves@assigns.co.uk" method="post" enctype="text/plain"> <h3>Please tell others about your experiance<br>This form sends your feedback to Assigns Ltd</h3> First Name:<br><input type="text" name="name" size="50"> <br> Last Name:<br><input type="text" name="name" size="50"> <br> Company:<br><input type="text" name="company" size="50"> <br> eMail:<br><input type="text" name="mail" size="50"> <br> Comment:<br><textarea rows="10" cols="50" name="comment"></textarea> <br><br> <input type="submit" value="Send"> <input type="reset" value="Reset"> </form> so just 'name="comment" Thanks guys |
|
|||
|
Having the mailto: email address hard-coded will definitely get you spam one day. Dr. Tandem and a few of us discussed hijacked forms from spammers recently. Give it a reading.
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using textArea for content | dakster | Search Engine Optimization Forum | 6 | 10-31-2006 08:00 AM |
| Textarea problems | DarrenPWS | Web Programming Discussion Forum | 1 | 05-19-2006 05:48 AM |
| php form validation of textarea | ozchris | Web Programming Discussion Forum | 7 | 09-09-2005 04:16 AM |
| How to insert a variable ANYWHERE in a TEXTAREA of a form? | Andre_Vas | Web Programming Discussion Forum | 1 | 03-29-2005 07:02 PM |
| Textarea and PHP. | Antinaris | Web Programming Discussion Forum | 5 | 04-06-2004 05:37 PM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2010 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |