Page 1 of 1

plugin=contact_form

Posted: Tue Jan 30, 2007 8:08 pm
by matthias
hallo, vielleicht kann jemand helfen.

{contact_form email="yourname@yourdomain.com"} habe ich installiert, leider ist es nicht valide.

folgende Meldung:

Below are the results of checking this document for XML well-formedness and validity.

  1. Error Line 233 column 92: document type does not allow element "form" here; missing one of "object", "applet", "map", "iframe", "ins", "del" start-tag.

      ...="font-weight: normal;color:#385C72;"> Diese letzte Klammer wird bemängelt.

      The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

      One possible cause for this message is that you have attempted to put a block-level element (such as "" or "") inside an inline element (such as "", "", or "").


Was kann da machen? Vielen Dank im Voraus, Matthias

Re: plugin=contact_form

Posted: Wed Jan 31, 2007 4:54 am
by cyberman
matthias wrote:       ...="font-weight: normal;color:#385C72;"> Diese letzte Klammer wird bemängelt.
Kann ich so nicht nachvollziehen - habs gerade mit einer frischen 1.0.3 getestet:

http://validator.w3.org/check?uri=http% ... %3Dkontakt

Re: plugin=contact_form

Posted: Thu Feb 01, 2007 5:47 am
by cyberman
matthias wrote: Was kann da machen?
Hast du xhtml transitional oder strict getestet?

Re: plugin=contact_form

Posted: Fri Feb 09, 2007 8:49 am
by matthias
Also, hier der Link zum Validator

http://validator.w3.org/check?verbose=1 ... %2Fmail%2F

....äh, konnte mich erst jetzt wieder melden...

Gruß Matthias

Re: plugin=contact_form

Posted: Fri Feb 09, 2007 1:05 pm
by piratos
Einfache Sache:

Setz dein Formular doch mal so:

Code: Select all

         <h2>Mail</h2>
	<!-- CONTACT_FORM -->
	<form action="/mail/" method="post" style="width:30em; important; font-weight: normal;">

                 <fieldset style="padding:1em;">
                        <legend>Kontakt</legend>
			<label for="name" style="display:block;" >Ihr Name :</label>
			<input type="text" id="name" name="name" value="" style="width:100%;border: 1px solid silver; margin:0 0 1em 0;"/>

			<label for="email" style="display:block;" >Ihre Emailadresse: </label>
			<input type="text" id="email" name="email" value="" style="width:100%;border: 1px solid silver; margin:0 0 1em 0;"/>

			<label for="subject" style="display:block;" >Betreff: </label>
			<input type="text" id="subject" name="subject" value="" style="width:100%;border: 1px solid silver; margin:0 0 1em 0;"/>

			<label for="message" style="display:block;" >Nachricht: </label>
			<textarea id="message" name="message" rows="12" cols="48" style="width:100%; border: 1px solid silver; margin:0 0 1em 0;"></textarea>


		        <input type="submit" class="button" value="Absenden" style="float:left; width:50%;" />
                        <input type="reset"  class="button" value="Löschen" style="float:left; width:50%;" />

                 </fieldset>
	</form>
	<!-- END of CONTACT_FORM -->

<br />

Re: plugin=contact_form

Posted: Mon Feb 12, 2007 1:51 pm
by matthias
@piratos
danke für deine Mühe, leider immer noch der selbe Fehler an der Stelle.

Re: plugin=contact_form

Posted: Mon Feb 12, 2007 2:17 pm
by cyberman
Du solltest deine Aufmerksamkeit eher dem Content selbst widmen:
Mail
       

Das bekommst du nie validiert (form-Elemente innerhalb von code-Tags)  ;).

PS: Solche "Fehler" entstehen bevorzugt bei Copy/Paste-Aktionen ...

Re: plugin=contact_form

Posted: Mon Feb 12, 2007 3:05 pm
by matthias
@cyberman
alles klar, war mein Fehler...typisch...wieder mal an der falschen Stelle rumgefummelt...jetzt ist alles O.K.
Gruß Matthias