Anybody help with 1 html error

Discussion in 'HTML & Website Design' started by choice, Nov 23, 2007.

  1. #1
    I have been using an html editor to validate my website

    the 1 error remaining is <form name="myform">

    the problem is: there is no attribute "NAME".

    anybody know how i can fix it

    my website is www.bookmarkingtool.com
     
    choice, Nov 23, 2007 IP
  2. live-cms_com

    live-cms_com Notable Member

    Messages:
    3,128
    Likes Received:
    112
    Best Answers:
    0
    Trophy Points:
    205
    Digital Goods:
    1
    #2
    It's because of your doctype, change to XHTML transitional or something.
     
    live-cms_com, Nov 23, 2007 IP
  3. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #3
    its working man
     
    kmap, Nov 23, 2007 IP
  4. live-cms_com

    live-cms_com Notable Member

    Messages:
    3,128
    Likes Received:
    112
    Best Answers:
    0
    Trophy Points:
    205
    Digital Goods:
    1
    #4
    He's speaking about validation, which is not working.
     
    live-cms_com, Nov 23, 2007 IP
  5. JagNet

    JagNet Peon

    Messages:
    18
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Use the id attribute instead.
     
    JagNet, Nov 23, 2007 IP
  6. choice

    choice Prominent Member

    Messages:
    5,444
    Likes Received:
    490
    Best Answers:
    0
    Trophy Points:
    350
    Digital Goods:
    2
    #6
    and that would be what
     
    choice, Nov 23, 2007 IP
  7. JagNet

    JagNet Peon

    Messages:
    18
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #7
    <form id="myform" ....>
    Code (markup):
     
    JagNet, Nov 23, 2007 IP
  8. choice

    choice Prominent Member

    Messages:
    5,444
    Likes Received:
    490
    Best Answers:
    0
    Trophy Points:
    350
    Digital Goods:
    2
    #8
    i changed to that and now the error is required attribute "ACTION" not specified .
     
    choice, Nov 23, 2007 IP
  9. JagNet

    JagNet Peon

    Messages:
    18
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #9
    "action" is a required attribute that specifies the url to submit the form to. You can leave the value empty if submitting to the same page that the form resides on, but you still have to include the attribute.

    It's also good practice to include the "method" attribute (either "get" or "post"). However, if omitted the form defaults to "get".
     
    JagNet, Nov 23, 2007 IP
    choice likes this.
  10. choice

    choice Prominent Member

    Messages:
    5,444
    Likes Received:
    490
    Best Answers:
    0
    Trophy Points:
    350
    Digital Goods:
    2
    #10
    thanks for the help validation successful rep sent
     
    choice, Nov 23, 2007 IP
  11. JagNet

    JagNet Peon

    Messages:
    18
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #11
    No worries, and thanks :D Glad you sorted it!
     
    JagNet, Nov 23, 2007 IP