+ Reply to Thread
Results 1 to 3 of 3

Thread: Formail, name attributes and HTML5 Forms

  1. #1
    Join Date
    Dec 2011
    Posts
    9

    Default Formail, name attributes and HTML5 Forms

    Hi,

    I'm wondering if using attribute's name values with "[ ]" in them, is valid HTML5 markup. This silly doubt because as far as I know it's true we should consider for the moment HTML5 a sort of "experimental" and so even more experimental are HTML5 validators ... but actually if I run a HTML5 document syntax check using BBEdit (a Mac OS text editor probably quite famous) for every value with [ ] I get red errors with this advice ... "... Value of attribute “name” for element “<input>” must begin with one of {A-Z,a-z} followed by zero or more of {A-Z,a-z,0-9,-,_,:,.}. But this is the HTML4.01 specs about attributes (http://www.w3.org/TR/html401/types.html#h-6.2 the only one specs about this I've been able to find) ... and then, if I change the DTD using XHTML or HTML4.01 it's ok, no errors about name values ... (?!?) After all, not so clear, isn'it ?
    So is it a good idea to use HTML5 document type and Forms and Formail ? I think yes, also seeing that W3C validator doesn't say anything about Value of attribute “name” ... and so on (of course having the chars [ ] in values).

    Has anyone any better infos about this particular and not so exciting topic ?

  2. #2
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Formail, name attributes and HTML5 Forms

    if the w3c validator says it's OK, I'd go with that.

    also, u only need [] if u want to create array fields (lists)

  3. #3
    Join Date
    Dec 2011
    Posts
    9

    Default Re: Formail, name attributes and HTML5 Forms

    Quote Originally Posted by crabtree View Post
    if the w3c validator says it's OK, I'd go with that.
    I completely agree ... : )

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. How to fill in forms from other forms
    By stehl in forum Community Support
    Replies: 1
    Last Post: 29-Oct-2009, 08:51 PM
  2. Replies: 2
    Last Post: 11-May-2009, 10:03 PM
  3. Formail
    By drdave in forum Community Support
    Replies: 0
    Last Post: 21-Dec-2008, 12:32 AM
  4. Can formail do this?
    By CHMOD000 in forum Features Questions
    Replies: 9
    Last Post: 24-Jun-2007, 06:59 AM
  5. Can formail do this?
    By CHMOD000 in forum Community Support
    Replies: 0
    Last Post: 21-Jun-2007, 12:25 AM

Tags for this Thread

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