Help - Search - Members - Calendar
Full Version: form and input
HTMLHelp Forums > Programming > Client-side Scripting
cedric
I'm using <?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
when I use a form, my program (eclipse) give me an error that input is in an invalid location???
Darin McGrew
Can you provide the URL (address) of a document that demonstrates the problem?
cedric
http://www.frituurdekouter.be/

maybe it's because I use them in a listitem?

thanks for the help!
Darin McGrew
None of your forms have ACTION attributes, so they won't work without JavaScript.

The only thing I noticed was that clicking the OK button sent me to http://www.frituurdekouter.be/managecart.html which returned 404 Not Found.
cedric
that file isn't on the server yet.

The 'action', is that obligated. because everything works as it should be.
Normally that would take you to the checkout page but I don't use prices so.
Can I leave it like that? or what should i do
pandy
QUOTE(cedric @ Jun 11 2009, 07:11 PM) *

I'm using <?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
when I use a form, my program (eclipse) give me an error that input is in an invalid location???


Why XHTML when you don't care about the rules of XHTML? wink.gif
http://www.htmlhelp.com/cgi-bin/validate.c...s&input=yes
Also see http://www.w3.org/TR/xhtml1/#diffs.

Attribute values must always be quoted in XHTML.

The error Eclipse reports about occurs the first time on line 85, I think. Inline content and elements in a form can't be on the loose in (X)HTML Strict. It must be contained in a block level element. See "Contents" here: http://htmlhelp.com/reference/html40/forms/form.html .

You have a clearing div that occurs between </li> and <li> many times and one time between </li> and </ul>. Nothing can go there in any version of HTML or XHTML.

There! tongue.gif
cedric
ok thanks;
I'm fearly new to al off this so any remarks are much appreciated.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.