Table of Contents

Field checking

Examination of the field inputs:
by Oliver Georgi » Sun Jul 19, 2009 14:45


Field checking general

Label-|-value

Example:
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 the value field we entered a simply -.

Please select-|-
Frau / Ms.
Herr / Mr.


Fied checking "select email menu"

Example exercise:
With the help of a place a certain e-mail address is selected, to which the form result is sent..

The notation follows the one shown above.

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.

Content of the field “select email menu”:

Please select -|-
Lummerland -|- test01@lokal.arpa
Kleinbonum -|- test02@lokal.arpa
Taka-Tuka-Land -|- test03@lokal.arpa


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).

Please select-|-
OPTGROUP Label-01
Babaorum
Laudanum
/OPTGROUP
OPTGROUP Label-02
Kleinbonum
Aquarium
/OPTGROUP



Field type: text (spezial)

Enter in the value field e.g.

type="INT"
default="100"
dateformat="d/m/y"


The following types available:


Field type: file

maxlength="10000000"
attachment="1"
folder="content/form"


Have a look too at http://www.phpwcms-docu.de/content_part_formular.phtml