plugin=contact_form

Hilfe zu Modulen und Tags
Post Reply
User avatar
matthias
Forum Members
Forum Members
Posts: 37
Joined: Tue Jan 30, 2007 7:57 pm

plugin=contact_form

Post 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
Don't play too much golf. Two rounds a day are plenty.
cyberman

Re: plugin=contact_form

Post 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
cyberman

Re: plugin=contact_form

Post by cyberman »

matthias wrote: Was kann da machen?
Hast du xhtml transitional oder strict getestet?
User avatar
matthias
Forum Members
Forum Members
Posts: 37
Joined: Tue Jan 30, 2007 7:57 pm

Re: plugin=contact_form

Post 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
Don't play too much golf. Two rounds a day are plenty.
piratos

Re: plugin=contact_form

Post 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 />
User avatar
matthias
Forum Members
Forum Members
Posts: 37
Joined: Tue Jan 30, 2007 7:57 pm

Re: plugin=contact_form

Post by matthias »

@piratos
danke für deine Mühe, leider immer noch der selbe Fehler an der Stelle.
Don't play too much golf. Two rounds a day are plenty.
cyberman

Re: plugin=contact_form

Post 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 ...
User avatar
matthias
Forum Members
Forum Members
Posts: 37
Joined: Tue Jan 30, 2007 7:57 pm

Re: plugin=contact_form

Post by matthias »

@cyberman
alles klar, war mein Fehler...typisch...wieder mal an der falschen Stelle rumgefummelt...jetzt ist alles O.K.
Gruß Matthias
Don't play too much golf. Two rounds a day are plenty.
Post Reply

Return to “Module und Tags”