![]() |
| | LinkBack | Themen-Optionen | Thema durchsuchen | Thema bewerten | Ansicht |
|
#1
| |||
| |||
Hallo ich habe mein erstes Template mit der MailformPlus Ext. erstellt und installiert. Ich bin nach der Doku vorgegangen, das Template zu erstellen. Leider werden die Value und Error Felder mit in dem MailForm angezeigt : Siehe hier : http://www.mediacar.info/85.html Weitere Frage: Das template enthält einen Lösch-Button, der funktioniert nicht. Geht das mit mailformplus?? Mein Template sieht so aus: HTML-Code: <!-- ###TEMPLATE_FORM### begin --> <script language="JavaScript" type="text/javascript"> <!-- function chkFormular () { if (document.Formular.namevorname.value == "") { alert("Bitte Ihren Namen/Vornamen eingeben!"); document.Formular.namevorname.focus(); return false; } if (document.Formular.ort.value == "") { alert("Bitte geben Sie Ihren Ort ein!"); document.Formular.ort.focus(); return false; } if (document.Formular.email.value == "") { alert("Bitte Ihre E-Mail-Adresse eingeben!"); document.Formular.email.focus(); return false; } if (document.Formular.telefon.value == "") { alert("Bitte Ihre Telefon-Nummer eingeben!"); document.Formular.telefon.focus(); return false; } if (document.Formular.strasse.value == "") { alert("Bitte Ihre Strasse eingeben!"); document.Formular.strasse.focus(); return false; } if (document.Formular.email.value.indexOf("@") == -1) { alert("Ihre eMail-Adresse ist nicht korrekt!"); document.Formular.email.focus(); return false; } return true; } --> </script> <form action="index.php" method="post" enctype="multipart/form-data" name="mailform-frenzel-de" onsubmit="return chkForumlar()" /> <input type="hidden" name="id" value="###PID###" /> <input type="hidden" name="submitted" value="1" /> <input type="hidden" name="L" value="0" /> ###ERROR### <table width="525" border="0" cellspacing="0" cellpadding="0"> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:1px solid #9A9A9A; "> <tr> <td width="525" colspan="5" bgcolor="#EBEBEB"><p>Bitte geben Sie Ihre Daten an:</p></td> </tr> <tr> <td width="120" style="padding-top:7px; "><p>Name/Vorname:</p></td> <td width="175"> ###error-namevorname### <input type="text" name="namevorname" value="###value-namevorname###"/> </td> <td width="5"> </td> <td width="50"><p>Plz/Ort:</p></td> <td width="175"> ###error-ort### <input type="text" name="ort" value="###value-ort###"/> </td> </tr> <tr> <td><p>Abteilung:</p></td> <td><input type="text" name="abteilung" value="###value-abteilung###"/> </td> <td> </td> <td><p>e-Mail:</p></td> <td> ###error-email### <input type="text" name="email" value="###value-email###"/> </td> </tr> <tr> <td><p>Firma:</p></td> <td><input type="text" name="firma" value="###value-firma###"/> </td> <td> </td> <td><p>Telefon:</p></td> <td> ###error-telefon### <input type="text" name="telefon" value="###value-telefon###"/> </td> </tr> <tr> <td style="padding-bottom:7px; "><p>Strasse:</p></td> <td> ###error-strasse### <input type="text" name="strasse" value="###value-strasse###"/> </td> <td> </td> <td><p>Telefax:</p></td> <td><input type="text" name="telefax" value="###value-telefax###"/> </td> </tr> </table></td> </tr> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:15px; border:1px solid #9A9A9A; "> <tr> <td width="525" bgcolor="#EBEBEB"><p>Bitte geben Sie Ihre Nachricht ein:</p></td> </tr> <tr> <td style="padding:7px; "><textarea name="nachricht" value="###value-nachricht##" rows="5" style="width:511px;"></textarea> </td> </tr> </table></td> </tr> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:15px; border:1px solid #9A9A9A; "> <tr> <td colspan="5" bgcolor="#EBEBEB"><p>Gewünschter Bereiche bitte ankreuzen:</p></td> </tr> <tr> <td width="15"> </td> <td width="26"><input type="checkbox" name="kontakt_aufnehmen" value="1" ###checked_kontakt_aufnehmen### /> <!-- <input type="checkbox" name="kontakt_aufnehmen" value="1"> --> <!-- <input type="checkbox" name="material" value="Stahl" checked_material_stahl="" />Stahl <input type="checkbox" name="tilbud" value="X" checked ###checked_tilbud_X###> --> </td> <td colspan="3"><p>Bitte nehmen Sie mit mir Kontakt auf</p></td> </tr> <tr bgcolor="#EBEBEB"> <td colspan="5"><p><span class="bold1">Prospektanforderung:</span></p></td> </tr> <tr> <td width="15"> </td> <td width="26"><input type="checkbox" name="prospect_1" value="1" ###checked_prospect_1### /></td> <td width="245"><p>Miniküchen</p></td> <td width="15"><input type="checkbox" name="prospect_7" value="1" ###checked_prospect_7### /></td> <td width="212"><p>Händetrockner</p></td> </tr> <tr> <td> </td> <td><input type="checkbox" name="prospect_2" value="1" ###checked_prospect_2### /></td> <td><p>Kühlschränke/Kühltruhen</p></td> <td><input type="checkbox" name="prospect_8" value="1" ###checked_prospect_8### /></td> <td><p>Buscatering</p></td> </tr> <tr> <td> </td> <td><input type="checkbox" name="prospect_3" value="1" ###checked_prospect_3### /></td> <td><p>Trinkwasserkühler</p></td> <td><input type="checkbox" name="prospect_9" value="1" ###checked_prospect_9### /></td> <td><p>Catering-Werbefilm</p></td> </tr> <tr> <td> </td> <td><input type="checkbox" name="prospect_4" value="1" ###checked_prospect_4### /></td> <td><p>Kaffeemaschine</p></td> <td><input type="checkbox" name="prospect_10" value="1" ###checked_prospect_10### /></td> <td><p>Video/TV-Systeme</p></td> </tr> <tr> <td> </td> <td><input type="checkbox" name="prospect_5" value="1" ###checked_prospect_5### /></td> <td><p>Heißwassergeräte</p></td> <td><input type="checkbox" name="prospect_11" value="1" ###checked_prospect_11### /></td> <td><p>Individualausstattung</p></td> </tr> <tr> <td> </td> <td><input type="checkbox" name="prospect_6" value="1" ###checked_prospect_6### /></td> <td><p>Wurstkocher/Mikrowellen</p></td> <td><input type="checkbox" name="prospect_12" value="1" ###checked_prospect_12### /></td> <td><p>Blutkonserven-Klimaschrank</p></td> </tr> </table></td> </tr> <tr> <td valign="top"><table width="200" border="0" cellspacing="0" cellpadding="0" align="right" style="margin-top:15px; border:1px solid #9A9A9A; "> <tr> <td align="center" width="50%" bgcolor="#EBEBEB" style="height:40px; "><input type="submit" name="Senden" value="senden" /></td> <td align="center" width="50%" bgcolor="#EBEBEB"><input type="reset" name="Löschen" value="löschen" /></td> </tr> </table></td> </tr> </table> </form> <!-- ###TEMPLATE_FORM### end --> <!-- ###TEMPLATE_SUBMITTED_OK### begin OPTIONAL - will be shown if form was submitted and all required fields were filled out --> <!--Thank you, your request will be answered soon.--> Danke für Ihr Interesse. Wir werden Ihr eMail umgehend bearbeiten!</b> <!-- ###TEMPLATE_SUBMITTED_OK### end --> <!-- ###TEMPLATE_EMAIL_USER### begin OPTIONAL - this will be the email text that is sent to the user (plaintext!) --> Hallo ###namevorname###, Sie haben gerade unser Kontaktformular ausgefüllt: Folgende Daten haben wir erhalten: Ihr Name: ###namevorname### Ihre email-Adresse: ###email### Wir werden Ihre eMail umgehend bearbeiten. Mit freundlichen Grüßen Frenzel GmbH <!-- ###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) --> Hallo Administrator der Fa. Frenzel:, ein Benutzer hat gerade Ihr Formular ausgefüllt: ###namevorname### 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: --> Folgende Fehler sind aufgetaucht: <ul> <!-- ###ERROR_START### end --> <!-- ###ERROR_END### begin this is used for the global error marker ###ERROR### --> </ul> <!-- ###ERROR_END### end --> <!-- ###ERROR_NAMEVORNAME### begin this is used if you use the file upload functionality --> <li>Ihr Name / Vorname fehlt!</li> <!-- ###ERROR_NAMEVORNAME### end --> <!-- ###ERROR_ORT### begin this is used if you use the file upload functionality --> <li>Ihre Ortsangabe fehlt!</li> <!-- ###ERROR_ORT### end --> <!-- ###ERROR_email### begin --> <li>Ihre eMail-Adresse fehlt!</li> <!-- ###ERROR_email### end --> <!-- ###error_strasse### begin --> <li>Die Strasse fehlt!</li> <!-- ###ERROR_strasse### end --> <!-- ###error_telefon### begin --> <li>Ihre Telefon-Nr. fehlt!</li> <!-- ###ERROR_telefon### end --> <!-- ###TEMPLATE_ERROR### end --> Geändert von tom (15.08.06 um 22:20 Uhr). |
| Sponsored Links |
![]() TYPO3 Forum.net empfiehlt domainFactory als Hoster! |
|
#2
| ||||
| ||||
| Problem gelöst ... Im grossen und ganzen waren es nur Tipp- und Schreibfehler. (Teilweise mit Gross- und Kleinschreibung) und vor allem darf nach error oder value kein - sondern muss ein _ kommen. (Also z.B error_strasse statt error-strasse und value_ort statt value-ort ...) Tom
__________________ "Wer nichts anderes tut als Geld verdienen, verdient auch nichts anderes ..." P.S. Ich habe gerade beschlossen alle meine Tipp- und Rechtschreibfehler unter die Open Content License zu stellen. |
|
#3
| |||
| |||
Danke Thomas ![]() |
|
#4
| |||
| |||
| Hallo ernstle, Ich verstehe nicht so ganz warum du die Funktionen die dir die Extension bietet komplett aushebelst (integriertes JS etc.) ... Benutze doch für die Bezeichner die Extension-Notation somit übernimmt Mailform-Plus die Arbeit also statt: name="namevorname" lieber tx_pilmailform_pi1[text][user_namevorname] Validierung der Felder macht du im Element auf der Seite dort findest du das Feld "Required Values" im Reiter Feldeinstellungen. Pflichtfelder zum Beispiel die ausgefüllt sein müssen: namevorname; notEmpty; text: Bitte Feld ... ausfüllen usw. anstatt notEmpty kann auch eine regexp für Emails benutzt werden: email; regexp/^...@...$/; text: Emailadresse ist nicht korrekt Grüße Brandao |
|
#5
| |||
| |||
| Hallo Brandao, vielen Dank für deinen Hinweis .Könntest Du evtl ein Beispiel an mich/ oder Forum übermitteln. Danke Ernst |
|
#6
| |||
| |||
| Die Frage ist jetzt : Wie hast du es eingebunden ......ich hatte es vor dem Domain-Umzug schonmal am laufen gehabt, jedoch nach dem Umzug kriege ich das Termplate nichtmehr ans laufen....das was du hier siehst, ist nur die Klamotte vom MailFormPlus.....kein Template : Handwerks-plattform.de - Die Plattform für Handwerker Das ist ja cool....welches Plugin/Produkt fürs VB-Forum ist das, die von der eingegebenen URL den Seiten-Titel raussucht ? Geändert von Breaker (06.10.06 um 14:50 Uhr). |
|
#7
| |||
| |||
| Ok, es läuft jetzt..aber die Sache mit dem VB-Prugin möchte ich schon wissen ;) |
![]() |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
| |
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Fehlermeldung mailformplus | smithers | Alle anderen Extensions | 1 | 01.06.07 18:52 |
| Mailformplus-Template funktioniert nicht ganz | bolshi | TYPO3 4.x Fragen und Probleme | 0 | 01.01.07 18:31 |
| Formular für mailformplus | blau | TYPO3-Jobs | 0 | 13.12.06 08:59 |
| mailformplus? | dirvish | Alle anderen Extensions | 0 | 27.11.06 15:57 |
| MailformPlus ? Was ist los ? | Breaker | Alle anderen Extensions | 2 | 07.01.06 01:25 |