Vanilla 1.1.2 Forum von Lussumo. Weitere Informationen: Dokumentation, Community.

    •  
      CommentAuthorschman
    • CommentTime25.09.2007
     permalink
    Ich arbeite gerade wieder mal an einer Übersetzung :-) und habe da ein paar Probleme folgende Phrasen kann ich nicht wirklich sinngemäß übersetzten. Ich weiß ungefähr was gemeint ist aber nicht 100%ig. Wäre toll wenn mir jemand helfen könnte:

    This will use the form field called email to supply the email address to send the message to. Set to 1 to activate send direct. Defaults to 0

    Prevents eform from sending emails e.g. no-reply@mydomain.com Set to 1 to disable emails. Defaults to 0

    Sets the name of the form field to use as a selector to select a single email from the comma (,) delimited emails assigned the &toparameter. This selector field will act like a numeric index to select an email. It will start at 1 for the first email and ends at N for the last email in the list.

    For example: &to =`sales@me.com,support@me.com,billing@me.com` &mailselector=`topic`

    On the web form the topic fields is actually a dropdown menu. when the user selects a topic from the list the value 1,2 or 3 will be sent to eForm which will then be used to select one of the three emails assigned to the &toparameter. This email address will be the address used to send the email to.


    Bin für jede Hilfe dankbar
    •  
      CommentAuthorMarc
    • CommentTime25.09.2007 bearbeitet
     permalink
    This will use the form field called email to supply the email address to send the message to. Set to 1 to activate send direct. Defaults to 0


    Benutzt das Formularfeld mit Namen "email" (name="email") als E-Mail-Adresse, an die das Formular gesendet wird. Wird mit 1 aktiviert (Senden an diese Adresse im Formular), Standard ist "0" (das Formular wird an die Adresse geschickt, die mit &to im Snippetaufruf angegeben wird).

    Prevents eform from sending emails e.g. no-reply@mydomain.com Set to 1 to disable emails. Defaults to 0


    Verhindert, dass eForm E-Mails verschickt. Z.B. sinnvoll, wenn nur Daten in die Datenbank geschrieben werden sollen.

    Sets the name of the form field to use as a selector to select a single email from the comma (,) delimited emails assigned the &toparameter. This selector field will act like a numeric index to select an email. It will start at 1 for the first email and ends at N for the last email in the list.


    Benutzt den Namen eines Formularfeldes als Auswahlmöglichkeit, an wen das Formular geschickt werden soll. Beispiel:

    Im Formular:

    <select name="adressat">
    <option value="1">Hans Müller</option>
    <option value="2">Franz Meier</option>
    <option value="3">Horst Schlämmer</option>
    </select>


    Im eForm-Snippetaufruf dann

    ...&mailselector=`adressat` &to=`hans.mueller@domain.de,franz.meier@domain.de,horst.schlaemmer@domain.de`...
    •  
      CommentAuthorschman
    • CommentTime25.09.2007
     permalink
    danke dir, habe noch eins :
    As eForm does not parse the complete form 1st time around you will have to have the same placeholders in the form template so the form can receive the values. So for example: [!eForm &sessionVars=`jobID` ... !]and <input type="hidden" value="[+jobID+]" />
    • CommentAuthornightsignals
    • CommentTime25.09.2007 bearbeitet
     permalink
    As eForm does not parse the complete form 1st time around you will have to have the same placeholders in the form template so the form can receive the values. So for example: [!eForm &sessionVars=`jobID` ... !]and <input type="hidden" value="[+jobID+]" />


    Mein Vorschlag, als ehemaliges Mitglied im Übersetzungsteam von Textpattern:

    Da eForm nicht das ganze Formular im ersten Durchgang verarbeitet, müssen zur Übergabe der Werte die gleichen Platzhalter auch in der Vorlage des Formulars vorhanden sein. Zum Beispiel: [!eForm &sessionVars=`jobID` ... !] und <input type="hidden" value="[+jobID+]" />

    Gruss René - und gleichzeitig ein Hallo an alle hier - das war mein erster Beitrag.
    •  
      CommentAuthorschman
    • CommentTime26.09.2007
     permalink
    Hi nightsignals (René)
    ein herzliches Hallo, das finde ich ja klasse das du im Übersetzungsteam warst dann kannst du ja gleich hier weiter machen :wink:
    Ne Spaß aber ich denke ich werde noch die eine oder andere Frage haben, da wäre ich froh wenn du helfen könntest
    •  
      CommentAuthorschman
    • CommentTime26.09.2007 bearbeitet
     permalink
    und schon gehts weiter :-)
    # &protectSubmit(optional) defaults to 1 (on)
    Protects against submitting a form multiple times with the same data. Submitting the form becomes disabled after the first successful submit while the value from key form fields remains the same. This is achieved by setting (and comparing) a session variable with an md5 hash from these key fields. Which fields are compared depends on the value of &protectSubmit.Possible values are 0 (off), 1 (all 'required' fields are used) or you can set a comma separated list of field names. To ensure that the session variable works separatedly for different forms the session variable name is based on &formid ({formid}_hash).

    # &submitLimit (optional) off (0) by default
    Enforces a time limit (in minutes) between form submits. After the form has been submitted successfully it can not be submitted again for &submitLimit minutes irrespective of the form data. When used in combination with &protectSubmit submitLimit takes precedence, meaning that when the time limit has expired the form can be submitted again regardless of the setting of &protectSubmit (it will unset the session variable). As with &protectSubmit this parameter uses a session variable with a variable name based on &formid.
    •  
      CommentAuthorMarc
    • CommentTime26.09.2007
     permalink
    &protectSubmit(optional) defaults to 1 (on)
    Protects against submitting a form multiple times with the same data. Submitting the form becomes disabled after the first successful submit while the value from key form fields remains the same. This is achieved by setting (and comparing) a session variable with an md5 hash from these key fields. Which fields are compared depends on the value of &protectSubmit.Possible values are 0 (off), 1 (all 'required' fields are used) or you can set a comma separated list of field names. To ensure that the session variable works separatedly for different forms the session variable name is based on &formid ({formid}_hash).


    Verhindert, dass ein Formular mehrfach abgesendet wird, das heißt Formulare können nach erfolgreichem Abschicken nicht erneut abgesendet werden, solange die Inhalte der Felder gleich bleiben. Dies wird durch eine Session Variable erreicht, die die md5-Hash-verschlüsselten Felder mit vergleicht. Welche Felder verglichen werden sollen, stellt &protectSubmit fest. Entweder "1" = alle Felder, 0 = keine Felder, oder mit einer durch Komma getrennten Liste der zu vergleichenden Felder. Um sicherzustellen, dass dies mit verschiedenen Formularen funktioniert, wird die Session Variable durch &formid + Hash eindeutig festgelegt.

    &submitLimit (optional) off (0) by default
    Enforces a time limit (in minutes) between form submits. After the form has been submitted successfully it can not be submitted again for &submitLimit minutes irrespective of the form data. When used in combination with &protectSubmit submitLimit takes precedence, meaning that when the time limit has expired the form can be submitted again regardless of the setting of &protectSubmit (it will unset the session variable). As with &protectSubmit this parameter uses a session variable with a variable name based on &formid.


    Bewirkt ein Zeitlimit zwischen dem Absenden der Formulare. Nachdem ein Formular erfolgreich abgeschickt wurde, kann es - egal mit welchem Inhalt - innerhalb dieses Zeitraumes (in Minuten) nicht noch einmal verschickt werden. Wird dies in Kombination mit &protectSubmit genutzt, erhält &submitLimit Priorität, das heißt nach dem festgelegten Zeitraum kann das Formular erneut verschickt werden, egal ob die in &protectSubmit festgelegten Felder identisch sind oder nicht. Ebenso wie bei &protectSubmit wird die Session Variable durch &formid + Hash eindeutig festgelegt.
    •  
      CommentAuthorschman
    • CommentTime26.09.2007 bearbeitet
     permalink
    Sadly eForm will silently ignore a snippet that does not exist due to the way $modx->runSnippet handles snippet return values.


    &snipFolder (new in 1.4.4) (optional)
    For those that want to keep different versions of eForm active. You can now save all of eForm's files in a different directory and set the &snipFolder accordingly. You can for instance save version 1.4.4 in the 'assets/snippets/eform/1.4.4' folder and set &snipFolder=`eform/1.4.4`. The value of &snipFolder is added to the basic snippets folder 'assets/snippets/'.It should not include a closing slash (/)!


    The default behaviour is handy for instance if you are storing a document id and want to be sure no one can tamper with the id. the field would look like this:
    •  
      CommentAuthorschman
    • CommentTime26.09.2007
     permalink
    noch eine andere kurze Frage: und zwar werden einige Beispiele gezeigt (auch mit beispiel Code) Was mich hier nun stuzig macht ist das der Pseudo eform Tag nicht eform heißt sondern eform_option stimmt das, oder war das vielleicht früher so?

    zB
    <input type="checkbox" name="myColors[]" value="Red" eform_options="Colors::1" />
    •  
      CommentAuthorMarc
    • CommentTime26.09.2007
     permalink
    Good catch. Müsste imho eform heißen.
    •  
      CommentAuthorschman
    • CommentTime26.09.2007
     permalink
    ok dann ändere ich das doch :-)

    wäre noch sehr dankbar wenn mir jemand bei den obigen drei Übersetzungsproblemen helfen könnte.
    •  
      CommentAuthorMarc
    • CommentTime26.09.2007
     permalink
    Sadly eForm will silently ignore a snippet that does not exist due to the way $modx->runSnippet handles snippet return values.


    Leider ignoriert eForm nicht existente Snippets ohne weitere Meldung, dies liegt an der Art und Weise wie $modx->runSnippet Snippet-Rückgabewerte behandelt.

    &snipFolder (new in 1.4.4) (optional)
    For those that want to keep different versions of eForm active. You can now save all of eForm's files in a different directory and set the &snipFolder accordingly. You can for instance save version 1.4.4 in the 'assets/snippets/eform/1.4.4' folder and set &snipFolder=`eform/1.4.4`. The value of &snipFolder is added to the basic snippets folder 'assets/snippets/'.It should not include a closing slash (/)!


    Falls man verschiedene eForm-Versionen gleichzeitig nutzen will. Will man zum Beispiel die Version 1.4.4. nutzen, speichert man diese unter 'assets/snippets/eform/1.4.4' ab und gibt beim eForm-Aufruf &snipFolder=`eform/1.4.4` an. Wichtig: Ohne abschließenden Slash!


    The default behaviour is handy for instance if you are storing a document id and want to be sure no one can tamper with the id. the field would look like this:


    Die Standardeinstellung ist sinnvoll wenn man zum Beispiel die Dokument ID speichern und sicher gehen will, dass diese nicht manipuliert werden kann. Das Formularfeld sieht so aus:
    •  
      CommentAuthorschman
    • CommentTime26.09.2007
     permalink
    So danke an alle
    Ich bin nun soweit fertig mit der Doku, ihr könnt sie hier herunterladen (PDF)
    Marc habe ich sie auch schon zukommen lassen somit dürfte sie auch bald hier online sein.

    PS: Falls sie jemand liest wäre ich froh wenn er etwaige Fehler melden würde
    • CommentAuthornightsignals
    • CommentTime26.09.2007 bearbeitet
     permalink
    Hallo Manuel

    Ich habe es mal durchgelesen. Ich sehe, dass du dir grosse Mühe gegeben hast, dem Original wörtlich zu folgen, was nicht immer der Verständlichkeit föderlich ist, besonders wenn schon die Formulierungen in der Originalsprache nicht über alle Zweifel erhaben sind. Z.B. bei den Datentypen schreibst du:

    Datentypen
    Du kann folgende Datentypen setzen, die anderen werden automatisch gesetzt (Radio und Checkboxen welche sind, String für die Textbox und Listbox für Select)
    Standard Validation: Alle Felder werden die benötigt werden, werden gecheckt (ob sie leer sind)
    ● string – Keine spezielle Validation außer das überprüft wird ob sie leer ist (wenn das Feld als required
    gesetzt wird
    ● date – Überprüft ob es ein valides Datum ist (basiert auf der PHP Funktion strtotime())
    ● integer – Überprüft ob es sich um ein Nummer handelt
    ● float – Überprüft ob es sich um eine Float Zahl handelt.
    ● email – Überprüft ob es sich um eine E-Mail Adresse handelt (benutzt ein simples REGEX)
    ● file – (für Datei uploads) – Überprüft ob die max. Upload Größe überschritten worden ist, überprüft noch nicht um welchen Dateityp es sich handelt.
    ● html – Das selbe wie string nur wird am ende die \n zu einem <br /> Tag konvertiert
    Bei den Listboxen, Checkboxen und Radio Felder musst du keinen Datentyp angeben, eForm erkennt dies automatisch. Es validiert die Werte laut der oberen Liste.


    Ich würde mich dort weniger streng an das Original anlehnen und das so wiedergeben:


    Datentypen

    Für Auswahllisten, Checkboxen und Radio-Buttons muss normalerweise kein Datentyp gesetzt werden. Diese Werte werden von eForm automatisch erkannt und gegen die Liste der im Formular platzierten Werte validiert.

    Standard Überprüfung: für die als benötigt definierten Felder wird übeprüft, ob sie nicht leer sind.

    Nur die folgenden Datentypen müssen gesetzt werden:

    * string – Keine spezifische Prüfung, außer ob das Feld leer ist (wenn das Feld als required gesetzt wird)
    * date – Überprüft ob es ein valides Datum ist (basiert auf der PHP Funktion strtotime())
    * integer – Überprüft ob es sich um ein Nummer handelt (übeprüft nicht wirklich auf integer)
    * float – Überprüft ob es sich um eine Nummer handelt.
    * email – Überprüft ob es sich um eine E-Mail Adresse handelt (benutzt einen einfachen regulären Ausdruck)
    * file – (für Datei uploads) – Überprüft ob die max. Upload Größe überschritten worden ist. Überprüft gegenwärtig nicht, um welchen Dateityp es sich handelt.
    * html – Gleich wie string, nur werden Zeilenenden (\n) in <br /> konvertiert


    ... es gibt noch mehr Kleinigkeite, ich kann dem im Moment aber gerade nicht mehr Zeit widmen.

    Ein Stilfrage ist, wie sehr man Leser und Leserinnen persönlich ansprechen will. Ich verzichte wenn immer möglich auf Formulierungen mit Du/Sie in solchen Anleitungen.

    Gruss, René