SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Oct 2006
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Send Form by Email - textarea not included

    The web form on my contact page (http://www.rich57.co.uk/contact.html) sends form data via email when the Submit button is clicked. However, nothing in the textarea (Your Comments) is sent in the email. I've checked this in Firefox/Thunderbird and IE6/OE.

    Can you suggest why the textarea field is ignored?

    Richard

  2. #2
    Pedantic Semantic blain's Avatar
    Join Date
    Mar 2006
    Location
    Yorkshire, UK
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    first off validate your page, then read this
    Technology is dominated by two types of people:
    those who understand what they do not manage,
    and those who manage what they do not understand.

  3. #3
    SitePoint Addict dAEk's Avatar
    Join Date
    Oct 2003
    Location
    Stockholm, Sweden
    Posts
    224
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The textarea does not appear to have a name attribute set.
    David Shamloo-Ekblad

    Go Habs! | For music addicts: Last.fm, SongMeanings

  4. #4
    SitePoint Member
    Join Date
    Oct 2006
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by blain
    first off validate your page, then read this
    At first I thought "I did validate my page - the icon's there to prove it!" However, then I remembered that I did an accessibility pass on the page afterwards and didn't re-check it.

    Validation fails due to incorrect use of <label><fieldset>...</fieldset></label>
    labels now assigned to individual radio button input elements. Validation passes.
    Quote Originally Posted by dAEk^
    The textarea does not appear to have a name attribute set.
    I agree, and this does seem to be a difference between the textarea fields and others on this page. W3Schools says the name attribute is optional but I'm reviewing how I got here.

    Name now assigned to textarea (same as id). Comments are now inserted into Thunderbird email from Firefox, but not from IE6. I can live with this, but can my IE6 visitors? Perhaps a subtle note like "IE6 visitors please email me direct".

    Thanks guys.
    Last edited by Rich57; Nov 2, 2006 at 08:18. Reason: Evaluated

  5. #5
    Pedantic Semantic blain's Avatar
    Join Date
    Mar 2006
    Location
    Yorkshire, UK
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rich, have another read of that site I linked you, and shed those tables.
    Also have a look at my previous thread here too
    Technology is dominated by two types of people:
    those who understand what they do not manage,
    and those who manage what they do not understand.


Bookmarks

Posting Permissions

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