Re: Problem with inserting form into document
Matt Whipple <[email protected]>
| Newsgroups | gmane.comp.cms.lenya.user |
|---|---|
| Message-ID | <[email protected]> |
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] > >