form and input, input seems not to be valid |
form and input, input seems not to be valid |
cedric |
Jun 11 2009, 12:11 PM
Post
#1
|
Member Group: Members Posts: 42 Joined: 10-June 09 Member No.: 8,846 |
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 |
Jun 11 2009, 01:49 PM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Can you provide the URL (address) of a document that demonstrates the problem?
|
cedric |
Jun 12 2009, 07:08 AM
Post
#3
|
Member Group: Members Posts: 42 Joined: 10-June 09 Member No.: 8,846 |
http://www.frituurdekouter.be/
maybe it's because I use them in a listitem? thanks for the help! This post has been edited by cedric: Jun 12 2009, 07:09 AM |
Darin McGrew |
Jun 12 2009, 12:13 PM
Post
#4
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
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 |
Jun 12 2009, 01:24 PM
Post
#5
|
Member Group: Members Posts: 42 Joined: 10-June 09 Member No.: 8,846 |
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 |
Jun 12 2009, 01:43 PM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
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? 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! |
cedric |
Jun 12 2009, 05:53 PM
Post
#7
|
Member Group: Members Posts: 42 Joined: 10-June 09 Member No.: 8,846 |
ok thanks;
I'm fearly new to al off this so any remarks are much appreciated. |
Lo-Fi Version | Time is now: 18th April 2024 - 01:05 AM |