Zum Inhalt springen

Powermail - Nach Validierung im I.E. Felder leer nur bei übersetzungen des Forms

Erstellt am 20. November 2009 · 1 Antwort · letzte Antwort am 23. November 2009

Tags: Powermail, JavaScript & AJAX, Frage

Velletti ·

Hallo ..

Erst mal vielen dank für die Super Extension.

Ein paar Problemchen hab ich aber

in meiner Deutschen version des Forumulars ist alles in Ordnung, auch wenn der I.E: die Fabuloustabs.js und immer die zeile 16 anmeckert .. da hab ich bisher nur einen älteren beitrag mit identischen Problem aber keine Lösung gefunden

I.E. meckert die zeile an .. :
$A(this.element.getElementsByTagName('a'));

Das stört mich aber weniger als folgendes:

sende ich im I.E. das Formular und hab nicht alle Pflicht felder ausgefüllt ab, werden mir alle eingaben in den anderen Feldern gelöscht.

FireFox oder Deutsch mit I.E. ist alles i.o.
nur in der englischen (und Tchechischen) Fassung des Forms ist mit I.E. 8 nach der Validierung der bisherige input weg ..

Hat jemand eine Idee?

links zum nachvollziehen wären:

http://change.allplan.com/kontakt.html
(da gehts, die felder bleiben gefüllt)

http://change.allplan.com/cz/kontakt.html
(da gehts nicht, die felder sind leer)

Grüsse aus München
jörg Velletti

PS: Besteht Interesse an dem p1\cz.locallang.xml auch wenn das erst zu 95% übersetzt ist?

Velletti ·

ich habe mir inzwischen ein wenig selber helfen können:

Zu I.E. meckert die zeile an .. :
$A(this.element.getElementsByTagName('a'));

Lösung:
das war ein Konflikt mir der js bibliothek jQuery, die kann ich zum Glück auf der Kontaktseite via Condition ausblenden ..

Damit bleibt das Problem zwar bei usern, die javascript aus haben, das nch der PHP Prüfung die eingaben weg sind, aber irgendeinen Tod werd ich wohl sterben müssen ...

für Typo 3 Newbees wie mich : das hab ich bei mir im Template um die bestehende js bibliothek rum geschireben .. wobei id=19 die PageID des Formulars ist ..

[globalVar = TSFE:id=19]
## kein jquery auf der Formularseite einbinden ...
## ggf. aber irgend was anderes ..
[ELSE]
page.2834 = TEXT
page.2834.value (
<script type="{$config.javascriptType}" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
)
page.2834.insertData = 1

page.2835 = TEXT
page.2835.value (
<script type="{$config.javascriptType}" src="fileadmin/template/js/jquery-functions.js.min.js"></script>
)
page.2835.insertData = 1
[global]

Grüeß jörg

den relvanten teil der übersetzung der p1/cz.locallang.xml häng ich hier einfach auch mal an .. vielelihts braucht auch mal einer

<languageKey index="cz" type="array">
<label index="powermailmarker_notitle">ERROR: No title to current field found in DB (%s)</label>
<label index="locallangmarker_confirmation_question">Jsou zadané hodnoty správn&#283;?</label>
<label index="locallangmarker_confirmation_back">Zp&#283;t</label>
<label index="locallangmarker_confirmation_files">P&#345;ipojit soubor %s: </label>
<label index="locallangmarker_confirmation_submit">Odeslat zadané hodnoty</label>
<label index="locallangmarker_email_receiver">D&#283;kujeme za Váš email:</label>
<label index="locallangmarker_email_sender">Máte nový email:</label>
<label index="locallangmarker_mandatory_message">Opravte prosím:</label>
<label index="locallangmarker_mandatory_emptyfield">Vypl&#328;te prosím pole:</label>
<label index="locallangmarker_mandatory_submit">Zp&#283;t na formulá&#345;</label>
<label index="locallangmarker_error_validemail">Toto není platná emailová adresa:</label>
<label index="locallangmarker_error_file_main">Tento soubor nejde p&#345;ipojit (na&#269;íst):</label>
<label index="locallangmarker_error_file_toolarge">Tento soubor je p&#345;íliš veliký:</label>
<label index="locallangmarker_error_file_extension">Soubor s touto p&#345;íponou není povolen:</label>
<label index="locallangmarker_error_file_mimetype">Uploaded file don't fits mime check:</label>
<label index="error_check_prefix">PowerMail error!! Please fill in this backend fields: </label>
<label index="error_check_subject_r">P&#345;edm&#283; emailu pro p&#345;íjemce</label>
<label index="error_check_recipient">Emailová adresa p&#345;íjemce</label>
<label index="error_check_noTS">ERROR: Typoscript for powermail missing!</label>
<label index="error_captcha_empty">Captcha Code empty</label>
<label index="error_captcha_wrong">Captcha Code wrong</label>
<label index="error_backend_noip">IP logging disabled</label>
<label index="error_validemail">Emailová adresa není planá</label>
<label index="error_nomx">Email adresa neexistuje</label>
<label index="error_unique_field">%s je již použito</label>
<label index="error_unique_ip">IP adresa %s má již záznam</label>
<label index="error_expression_validation">Chyba p&#345;i validaci</label>
<label index="error_templateNotFound">Template not found, check path to your powermail templates</label>
<label index="error_captchaWrongExt">Powermail ERROR: The chosen captcha extension "%s" is not loaded! Choose another captcha extension in the powermail constants or install the extension "%s".</label>
<label index="error_captchaNoExtFound">Please install a captcha extension like captcha, sr_freecap, jm_recaptcha or wt_calculating_captcha!</label>
<label index="multiple_forward">Další krok</label>
<label index="multiple_back">P&#345;edchozí krok</label>
<label index="pagebrowser_inner"> z </label>
<label index="JSvalidation_label_required">Toto je povinné pole</label>
<label index="JSvalidation_label_validate_number">Zadejte prosím platné &#269;íslo do tohoto pole</label>
<label index="JSvalidation_label_validate_digits">Zadejte prosím pouze &#269;íslo do tohoto pole. Odstra&#328;te prosím mezery nebo znaky jako te&#269;ky a &#269;árky</label>
<label index="JSvalidation_label_validate_alpha">Zadejte prosím pouze znaky (a-z) do tohoto pole</label>
<label index="JSvalidation_label_validate_alphanum">Zadejte prosím pouze znaky (a-z) nebo &#269;ísla (0-9) do tohoto pole. Mezery nebo jiné znaky nejsou povoleny</label>
<label index="JSvalidation_label_validate_date">Zadejte prosím platné datum</label>
<label index="JSvalidation_label_validate_email">Zadejte prosím platnou emailovou adresu (test@test.com)</label>
<label index="JSvalidation_label_validate_url">Zadejte prosím platnou URL adresu (http://www.test.com)</label>
<label index="JSvalidation_label_validate_date_au">Použijte prosím tento formát zápisu data: dd/mm/yyyy. Nap&#345;íklad 17/03/2006 pro 17 b&#345;ezen, 2006</label>
<label index="JSvalidation_label_validate_currency_dollar">Zadejte platnou sumu v $. Nap&#345;íklad $100.00</label>
<label index="JSvalidation_label_validate_selection">Vyberte prosím</label>
<label index="JSvalidation_label_validate_one_required">Vyberte prosím jednu z nabízených možností</label>
<label index="geoip_ip">IP adresa</label>
<label index="geoip_countryCode">Ozna&#269;ení státu</label>
<label index="geoip_countryName">Stát</label>
<label index="geoip_region">Region</label>
<label index="geoip_city">M&#283;sto</label>
<label index="geoip_zip">PS&#268;</label>
<label index="geoip_lng">LNG</label>
<label index="geoip_lat">LAT</label>
<label index="geoip_dmaCode">DMA kód</label>
<label index="geoip_areaCode">Kód oblasti</label>
</languageKey>