Skip to main content

Home/ Web Programming/ Validation Error -> What's My Sign? Challenge
Caruso  Nicholas L

Validation Error -> What's My Sign? Challenge - 25 views

webprog-3-g

started by Caruso Nicholas L on 03 Mar 09
  • Lee Howard
     
    Not sure if you have to put POST in quotes... try it, it might work!

    Lee Howard


    Caruso Nicholas L wrote:
    > I'm getting this error when I attempt to validate my html page for the Astrological Sign challenge:
    >
    > "Line 17, Column 75: value of attribute "method" cannot be "POST"; must be one of "get", "post".
    >
    > …dyvybes.nfshost.com/sign.php" method="POST" >
    >
    > The value of the attribute is defined to be one of a list of possible values but in the document it contained something that is not allowed for that type of attribute. For instance, the "selected" attribute must be either minimized as "selected" or spelled out in full as "selected="selected""; a value like "selected="true"" is not allowed."
    >
    > I re-checked the book, and I've typed exactly what they told me to...which was the following:
    >
    > "<form action="http://rocksteadyvybes.nfshost.com/sign.php" method="POST" >"
    >
    > I'm not exactly sure why I'm getting the error. I have the proper closing too. Anyone have any ideas?
  • Nancy Hall
     
    Hey, Nick. I ran into the same error.

    I got around that by making at lowercase -- "post" instead of "POST." Seems silly, but worked for me!

    And I will get back to you about your message ASAP!

    ~N~


    Caruso Nicholas L wrote:
    > Tried it, but I went from 1 error to 8! Yikes! Thanks anyways!
    >
    > Lee Howard wrote:
    > > Not sure if you have to put POST in quotes... try it, it might work!
    > >
    > > Lee Howard
    > >
  • Caruso  Nicholas L
     
    That worked, Nancy! You're the best, thanks!

    Nancy Hall wrote:
    > Hey, Nick. I ran into the same error.
    >
    > I got around that by making at lowercase -- "post" instead of "POST." Seems silly, but worked for me!
    >
    > And I will get back to you about your message ASAP!
    >
    > ~N~
    >
    >
  • Caruso  Nicholas L
     
    I've been working on this 1 challenge for about 3.5 hours only to get smacked with crazy validation errors that I don't understand. I tried googling and hitting up some forums, but neither have helped.

    On my HTML file, I'm getting Validation errors that read:

    Error Line 65, Column 6: end tag for "form" omitted, but OMITTAG NO was specified.



    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

    Error Line 65, Column 7: XML Parsing Error: Opening and ending tag mismatch: form line 54 and body.



    Note: I get the same 2 errors for my html tag.
    Also note: My php file was written using the very same template, and that file checked out as 100% golden. So I'm left being way confused, because my tags are fine. I've double, triple, and quadruple checked them. I don't get why this file isn't checking out ok.
  • Alex Halavais
     
    Link?

To Top

Start a New Topic » « Back to the Web Programming group