The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> form and input, input seems not to be valid
cedric
post 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???
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post 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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
cedric
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
cedric
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jun 12 2009, 01:43 PM
Post #6


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
cedric
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th April 2024 - 01:05 AM