I've tried to add input:
<html>
<head>
<title>New XHTML document</title>
</head>
<body>
<h1>Send Report</h1>
<p>Here comes the text of your new document...</p>
<p>To add real content, use one of the editors listed in the
<strong>Edit</strong> menu.</p>
<form method="post" action="/some/action">
<input type="submit" />
</form>
</body>
</html>
But I've only got more errors:
* error: element "input" from namespace "http://www.w3.org/1999/xhtml" not
allowed in this context
* error: unfinished element
________________________________________
From: Matt Whipple [[email protected]]
Sent: Friday, September 18, 2009 8:32 AM
To: [email protected]
Subject: Re: Problem with inserting form into document
Oleg Barmin wrote:
> Hi,
>
> I created a new XHTML document and tried to insert a form into this document
> using editors. I opened the page in "One Form" editor and placed there
> following content:
>
> <html>
> <head>
> <title>New XHTML document</title>
> </head>
> <body>
> <h1>Send Report</h1>
> <p>Here comes the text of your new document...</p>
> <p>To add real content, use one of the editors listed in the
> <strong>Edit</strong> menu.</p>
> <form method="post" action="/some/action">
> </form>
> </body>
> </html>
>
> But I got an error on save document:
> error: unfinished element
>
> What's wrong with this document? I see no errors there.
>
I would have to look at the DTD, but I'd guess the form element has
required children (one or more input elements) which would cause an
error in validation. Try adding an <input type="submit" />
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]