NAVIGATION
This shows you the differences between two versions of the page.
|
english:phpwcms-system:article:contentparts:form:field-checking [2010/05/20 23:34] Knut Heermann (flip-flop) |
english:phpwcms-system:article:contentparts:form:field-checking [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 13: | Line 13: | ||
| In select menu the first option to sign as an error - e.g. blank or dash, after this mister or misses to be selected as option. | In select menu the first option to sign as an error - e.g. blank or dash, after this mister or misses to be selected as option. | ||
| - | Im Wertefeld wird einfach ##-## eingegeben. | + | In the value field we entered a simply ##-##. |
| - | In the value field is entered a simply ##-##. | + | |
| <code> | <code> | ||
| Line 24: | Line 23: | ||
| - | === Feldprüfung E-Mail Ausklappmenü === | + | === Fied checking "select email menu" === |
| - | **Beispielaufgabe:** \\ | + | **Example exercise:** \\ |
| - | Anhand eines Ortes soll eine bestimmte E-Mailadresse selektiert werden, an die dann die E-Mail ausgeliefert wird. | + | With the help of a place a certain e-mail address is selected, to which the form result is sent.. |
| - | Die Schreibweise folgt dem oben gezeigten. | + | The notation follows the one shown above. |
| {{:deutsch:phpwcms-system:artikel:contentparts:formular:spezielle-anwendungen:email-ausklappmenue_be_fe_1.gif|}} | {{:deutsch:phpwcms-system:artikel:contentparts:formular:spezielle-anwendungen:email-ausklappmenue_be_fe_1.gif|}} | ||
| - | In diesen Fall würde die E-Mail-Adr. test02@lokal.arpa ausgewählt, an die dann bei entsprechender Einstellung z.B. \\ | + | In this case, the e-mail address test02@lokal.arpa is selected. If e.g. **copy to:** ##email## is set, the form result is delivered to the selected email. |
| - | **Kopie an:** ##email## diese E-Mail versendet wird. | + | |
| - | Inhalt des Feldes "E-Mail Ausklappmenü": | + | Content of the field "select email menu": |
| - | <code >Bitte wählen -|- | + | <code >Please select -|- |
| Lummerland -|- test01@lokal.arpa | Lummerland -|- test01@lokal.arpa | ||
| Kleinbonum -|- test02@lokal.arpa | Kleinbonum -|- test02@lokal.arpa | ||
| Taka-Tuka-Land -|- test03@lokal.arpa</code> | Taka-Tuka-Land -|- test03@lokal.arpa</code> | ||
| + | \\ | ||
| + | |||
| + | === Option Group in select menu and list === | ||
| + | |||
| + | |||
| + | It is possible to group entries within a select menu or a list //(in list no "label-|-value" possible)//. | ||
| + | |||
| + | {{:deutsch:phpwcms-system:artikel:contentparts:formular:email-ausklappmenue02_be_1.gif|}} | ||
| + | <file> | ||
| + | Please select-|- | ||
| + | OPTGROUP Label-01 | ||
| + | Babaorum | ||
| + | Laudanum | ||
| + | /OPTGROUP | ||
| + | OPTGROUP Label-02 | ||
| + | Kleinbonum | ||
| + | Aquarium | ||
| + | /OPTGROUP | ||
| + | </file> | ||
| + | \\ | ||
| \\ | \\ | ||
| Line 62: | Line 80: | ||
| * **STRING** or **MIX** \\ | * **STRING** or **MIX** \\ | ||
| * **DATE** - checks if a valid date \\ | * **DATE** - checks if a valid date \\ | ||
| - | * **REGEX** - (patterns - new value) //([[links/php/regular-expression]])// | + | * **REGEX** - (patterns - new value) //([[:links:php:regular-expression]])// |
| * ''**pattern** =%%"/...regex-pattern.../"%%'' \\ | * ''**pattern** =%%"/...regex-pattern.../"%%'' \\ | ||
| * e.g. time: **"HH:mm"** -> ##''%%pattern="/((0|1)[0-9]|2[0-3]):([0-5]?[0-9]{2,2})/"%%''## | * e.g. time: **"HH:mm"** -> ##''%%pattern="/((0|1)[0-9]|2[0-3]):([0-5]?[0-9]{2,2})/"%%''## | ||
| Line 77: | Line 95: | ||
| * **maxlength="10000000"** - Max filesize \\ | * **maxlength="10000000"** - Max filesize \\ | ||
| * **attachment="1"** - sending as attachment \\ | * **attachment="1"** - sending as attachment \\ | ||
| - | * **accept="text/*"** - welcher Anhang //(Mime-Type)// \\ | + | * **accept="text/*"** - which attachment //(Mime-Type)// \\ |
| * **folder="content/form"** - the folder where the file is stored after the upload \\ | * **folder="content/form"** - the folder where the file is stored after the upload \\ | ||
| * **exclude="php,asp,php3,php4,php5,aspx,cfm,js"** - Exclude files with these extensions when uploading \\ | * **exclude="php,asp,php3,php4,php5,aspx,cfm,js"** - Exclude files with these extensions when uploading \\ | ||
| - | * **accept="css,tif"** - Allowed files with these extensions | + | * **accept="css,tif"** - Extensions of allowed files |
| \\ | \\ | ||
| - | Siehe auch [[http://www.phpwcms-docu.de/content_part_formular.phtml]] | + | Have a look too at [[http://www.phpwcms-docu.de/content_part_formular.phtml]] |