Results 1 to 5 of 5

Thread: Form to email: Nothing from textarea

  1. #1
    Join Date
    Dec 2011
    Posts
    1

    Default Form to email: Nothing from textarea

    Hi all,
    I've seen a few threads relating to the textarea problem, but in most, it was not resolved or was resolved by changing the textarea to a simple text box. However, since the people submitting my form might potentially have quite a few characters entered in the inputs I've created as textareas, I would like to let them see more of what they have typed than simply one line that scrolls, since what I've found on the internet says you cannot make text boxes wrap.

    Is there a way to send a form through email, whether via bluemail, cgi email, or php, that will actually send the data from the textareas? Or is there a way to make the text boxes wrap input? If so, what's the code?

    The code I've tried with Bluemail is
    <input type="hidden" name="questions" value=message>
    with "value=message" varying as =1, = "", etc, but regardless of what I put, the email sends whatever I put as the value, not what was entered in the textarea.

    Bluehost hasn't actually made my domain so that it uses my pages yet, so I can't tell if I even have the right code for cgi email. The code currently entered is
    <form id='Schedule' action="http://www.renegade-computers.com/bin/cgiemail/public_html/cgi-bin/scheduleservice.txt" method="post">

    Similar story for php - I can't get it to work just "from my computer" and I can't get the page through Bluehost yet to see if it will work.

    Any info would be great! Thanks so much!

  2. #2
    Join Date
    Sep 2007
    Location
    Lagos, Nigeria
    Posts
    194

    Default

    I don't think many people use Bluemail these days. Consider developing a custom form script or purchase an affordable one online.

  3. #3

    Default

    First of all, i don't understand what Bluemail, CGI mail are.

    You just need few lines of code in PHP to send a form submitted as an email. There are lots of free code samples available all over the net, just get any and you are ready to go.

    There is absolutely no difference in data being posted from a text area or textbox on the serve side. In my 10+ years experience as a PHP coder, I am yet to see any such issues. Obviously you are making some silly mistakes.

    Use a php script and post the code here, if you are unable to fix it.
    Design is not just what it looks like and feels like. Design is how it works.
    Hostmonster? Get a Hostmonster Coupon or read Hostmonster Reviews

  4. #4

    Default Form to email: Nothing from textarea

    Great post, although I would also note that adding word restriction to your comments might backfire. I understand wanting to cut down on spam, but it also adds another barrier for the commenter, and I think it's more beneficial to make commenting as easy as possible.

  5. #5
    Join Date
    Feb 2012
    Posts
    6

    Default Form to email Nothing from textarea

    Can anyone here help me troubleshoot a php issue Im having? Ive created a simple php form handler which seems to work except for the resulting email. The only thing I receive is the Subject. The body of the email is blank.

    Heres my form:

    Code:

Tags for this Thread

Posting Permissions

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