e1109d46cce2df8a3964283aefdfb9d79b11305e
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Documentation / Configuration / Rules / Required / Index.rst
1 .. include:: ../../../Includes.txt
2
3
4 .. _reference-rules-required:
5
6 ========
7 required
8 ========
9
10 Checks if the submitted value exists and is not empty.
11
12 0 or "0" are allowed and the rule will return true.
13
14
15 .. _reference-rules-required-breakonerror:
16
17 breakOnError
18 ============
19
20 :aspect:`Description:`
21     See general information for :ref:`reference-validation-attributes-breakonerror`.
22
23
24 .. _reference-rules-required-element:
25
26 element
27 =======
28
29 :aspect:`Description:`
30     See general information for :ref:`reference-validation-attributes-element`.
31
32
33 .. _reference-rules-required-error:
34
35 error
36 =====
37
38 :aspect:`Description:`
39     See general information for :ref:`reference-validation-attributes-error`.
40
41 :aspect:`Default:`
42     *local language:*"This field is required"
43
44
45 .. _reference-rules-required-message:
46
47 message
48 =======
49
50 :aspect:`Description:`
51     See general information for :ref:`reference-validation-attributes-message`.
52
53 :aspect:`Default:`
54     *local language:*"Required"
55
56
57 .. _reference-rules-required-showmessage:
58
59 showMessage
60 ===========
61
62 :aspect:`Description:`
63     See general information for :ref:`reference-validation-attributes-showmessage`.
64
65 [tsref:(cObject).FORM->rules.required]
66