Antwort
 
LinkBack Themen-Optionen Thema bewerten Ansicht
  #1  
Alt 25.02.07, 10:55
Forum Aktivist
 
Registriert seit: 18.01.07
Beiträge: 64

Mailformplus ignoriert Errormessages


Hallo T3-Community,

ich arbeite gerade mit Mailformplus 3.9 und habe versucht das Muster-Template auszuprobieren:

Code:
<!-- ###TEMPLATE_FORM### begin

  shows formular field to be filled out

-->

<form name="Formular" method="post" action="http://www.typo3forum.net/forum/" enctype="multipart/form-data">

<input type="hidden" name="id" value="###PID###">

<input type="hidden" name="submitted" value="1">

<input type="hidden" name="L" value="0">

###ERROR###

Surename:<br />

###error_surename###

<input type=”text” name=”surename” value=”###value_surename###”>

<br />

email:<br />

###error_email###

<input type=”text” name=”email” value=”###value_email###”>

<br />

Topic: <br/>

###error_topic###

<select name="topic" style="width:320px;">

<option value="empty" ###selected_topic_empty###></option>

<option value="webdesign" ###selected_topic_webdesign###>Webdesign</option>

<option value="feedback" ###selected_topic_feedback###>Feedback</option>

</select>

<br />

Contact: <br />

<input type="radio" name="contact_via" value="email" style="border-style:none;" ###checked_contact_via_email###>e-mail 

<input type="radio" name="contact_via" value="phone" style="border-style:none;" ###checked_contact_via_phone###>Phone

<br />

Photo(s:sad:<br />

###error_filesize######error_filetype###

<input type="file" name="photo" size="50" maxlength="50000" accept="image"><br>

<input type="file" name="photo2" size="50" maxlength="50000" accept="image">

<br />

<input type=”submit” value=”submit”>

</form>

<!-- ###TEMPLATE_FORM### end -->

<!-- ###TEMPLATE_SUBMITTED_OK### begin

  OPTIONAL - will be shown if form was submitted and all required fields were filled out

-->

<b>Thank you, your request will be answered soon.</b>

<!-- ###TEMPLATE_SUBMITTED_OK### end -->

<!-- ###TEMPLATE_EMAIL_USER### begin

    OPTIONAL - this will be the email text that is sent to the user (plaintext!)

-->

Hello ###surename###,

You have just submitted our form:

Your name: ###surename###

your email: ###email###

you want to be contacted via: ###contact_via###

you uploaded the following files:

###photo###

###photo2###

ciao! 

<!-- ###TEMPLATE_EMAIL_USER### end -->

<!-- ###TEMPLATE_EMAIL_RECEIVER### begin

    OPTIONAL - this will be the email text that is sent to the admin (plaintext!)

    (admin-email = the email you can specify in the mailformplus plugin)

-->

Hello admin,

A user just filled out our form:

name: ###surename###

email: ###email###

please contact the user via: ###contact_via###

the user has uploaded the following files:

###photo###

###photo2###

<!-- ###TEMPLATE_EMAIL_RECEIVER### end -->

<!-- ###TEMPLATE_ERROR### begin

  OPTIONAL – this section holds the error texts for the input fields.

Only a primitive server side check is supported: you can specify fiels that have to be filled out. If not, this error message is shown.

-->

<!-- ###ERROR_START### begin 

this is used for the global error marker ###ERROR### -->

The following errors occured:

<ul>

<!-- ###ERROR_START### end -->

<!-- ###ERROR_END### begin 

this is used for the global error marker ###ERROR### -->

</ul>

<!-- ###ERROR_END### end -->

<!-- ###ERROR_FILESIZE### begin 

this is used if you use the file upload functionality -->

<li>File is too large!</li>

<!-- ###ERROR_FILESIZE### end -->

<!-- ###ERROR_FILETYPE### begin 

this is used if you use the file upload functionality -->

<li>File is not allowed!</li>

<!-- ###ERROR_FILETYPE### end -->

<!-- ###ERROR_email### begin -->

<li>insert email</li>

<!-- ###ERROR_titel### end -->

<!-- ###TEMPLATE_ERROR### end -->
Quelle (Hab da nur das JavaScript gelöscht:sad: http://typo3.org/documentation/docum....8.0/view/1/5/
(Gibt es eigentlich das Manual auch als offlineversion???)

als "Muss-Feld" habe ich surename,email,topic,contact_via eingestellt.

1. Problem: Wenn z.b. email nicht ausgefüllt wurde, dann steht als Fehlermeldung beim ###ERROR###-Marker: "The following errors occured: email" anstatt "The following errors occured: insert mail" (so wie es im subpart ###ERROR_email### definiert wurde, stattdessen wird der name-parameter genommen)

2. Problem: die Marker ###error_[feldname]### werden nicht gefüllt, falls das Feld nicht ausgefüllt wurde.

hat jemand von euch das Problem lösen können?

Viele Grüße

µaTh
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #2  
Alt 26.02.07, 16:13
Forum Newbie
 
Registriert seit: 10.02.07
Beiträge: 45

Hallo µaTh,

mir ist nicht ganz klar wie du das meinst:

Zitat:
die Marker ###error_[feldname]### werden nicht gefüllt, falls das Feld nicht ausgefüllt wurde.
Ich habe Mailformplus dieser Tage installiert. Ich habe meinerseits das

typo3conf/ext/th_mailformplus/example_form/mailformplus_demo.html

benutzt um mich mit der Extension vertraut zu machen. Ich habe damit sehr schnell Erfolge erzielen können, vielleicht versuchst Du es mal damit.

Grüße

Tyan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Gelöst Opera ignoriert Schriftangabe triple.u HTML & CSS 10 23.06.08 15:37
TMENU ignoriert CSS argotest TYPO3 4.x Fragen und Probleme 5 19.06.08 11:52
Gelöst HMENU wird ignoriert Morjo GMENU, HMENU, TMENU und Co. 4 23.12.07 20:04
mailformplus - Pflichtfelder werden ignoriert! sandra Alle anderen Extensions 8 19.02.07 09:40
Bilderbreite wird ignoriert hitechrolf TYPO3 4.x Fragen und Probleme 1 27.10.06 15:33


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:53 Uhr.


Powered by vBulletin® Version 3.7.3 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0