| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
$sections['Element'] = array( |
|---|
| 13 |
'descr' => 'These examples show how to create forms with the main patForms API, as |
|---|
| 14 |
, |
|---|
| 15 |
'basename' => 'example_element_', |
|---|
| 16 |
'pages' => array( |
|---|
| 17 |
'string' => array( |
|---|
| 18 |
'state' => 'Stable', |
|---|
| 19 |
'title' => 'String', |
|---|
| 20 |
'descr' => 'Simple text input field element.' |
|---|
| 21 |
), |
|---|
| 22 |
'text' => array( |
|---|
| 23 |
'state' => 'Stable', |
|---|
| 24 |
'title' => 'Text', |
|---|
| 25 |
'descr' => 'Simple multiline text input field element. It also validates against tags. |
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
, |
|---|
| 29 |
|
|---|
| 30 |
'number' => array( |
|---|
| 31 |
'state' => 'Stable', |
|---|
| 32 |
'title' => 'Number', |
|---|
| 33 |
'descr' => 'Simple number input field element.', |
|---|
| 34 |
|
|---|
| 35 |
'hidden' => array( |
|---|
| 36 |
'state' => 'Stable', |
|---|
| 37 |
'title' => 'Hidden', |
|---|
| 38 |
'descr' => 'Probably the simplest of all form elements: the hidden input field.' |
|---|
| 39 |
), |
|---|
| 40 |
'date' => array( |
|---|
| 41 |
'state' => 'Beta', |
|---|
| 42 |
'title' => 'Date', |
|---|
| 43 |
'descr' => 'Powerful date input element that can generate text input elements or |
|---|
| 44 |
|
|---|
| 45 |
|
|---|
| 46 |
|
|---|
| 47 |
, |
|---|
| 48 |
|
|---|
| 49 |
'set' => array( |
|---|
| 50 |
'state' => 'Stable', |
|---|
| 51 |
'title' => 'Set', |
|---|
| 52 |
'descr' => 'Set element with auto-sizing feature that will automatically adjust the |
|---|
| 53 |
|
|---|
| 54 |
, |
|---|
| 55 |
|
|---|
| 56 |
'pool' => array( |
|---|
| 57 |
'state' => 'Stable', |
|---|
| 58 |
'title' => 'Pool', |
|---|
| 59 |
'descr' => 'Pool element - like the Set element but with different user interface for |
|---|
| 60 |
, |
|---|
| 61 |
|
|---|
| 62 |
'pool_multi' => array( |
|---|
| 63 |
'state' => 'Stable', |
|---|
| 64 |
'title' => 'Pool (multi)', |
|---|
| 65 |
'descr' => 'Pool element - multiple sets in one form are also possible as the javascript |
|---|
| 66 |
, |
|---|
| 67 |
|
|---|
| 68 |
'switch' => array( |
|---|
| 69 |
'state' => 'Stable', |
|---|
| 70 |
'title' => 'Switch', |
|---|
| 71 |
'descr' => 'Simple checkbox element', |
|---|
| 72 |
|
|---|
| 73 |
'switchgroup' => array( |
|---|
| 74 |
'state' => 'Devel', |
|---|
| 75 |
'title' => 'Switch Group', |
|---|
| 76 |
'descr' => 'Checkbox group element that can generate a list of |
|---|
| 77 |
|
|---|
| 78 |
|
|---|
| 79 |
, |
|---|
| 80 |
|
|---|
| 81 |
'enum' => array( |
|---|
| 82 |
'state' => 'Stable', |
|---|
| 83 |
'title' => 'Enum', |
|---|
| 84 |
'descr' => 'Select box element with data source support to be able to retreive box elements |
|---|
| 85 |
|
|---|
| 86 |
, |
|---|
| 87 |
|
|---|
| 88 |
'enum_optgroup' => array( |
|---|
| 89 |
'state' => 'Stable', |
|---|
| 90 |
'title' => 'Enum (optgroup)', |
|---|
| 91 |
'descr' => 'Select box element with data source support to be able to retreive box elements |
|---|
| 92 |
|
|---|
| 93 |
, |
|---|
| 94 |
|
|---|
| 95 |
'combobox' => array( |
|---|
| 96 |
'state' => 'Alpha', |
|---|
| 97 |
'title' => 'Combobox', |
|---|
| 98 |
'descr' => 'Combobox, that works with and without javascript.', |
|---|
| 99 |
|
|---|
| 100 |
'radio' => array( |
|---|
| 101 |
'state' => 'Stable', |
|---|
| 102 |
'title' => 'Radio Button', |
|---|
| 103 |
'descr' => 'Radiobutton element that can serialize a single radiobutton element.', |
|---|
| 104 |
|
|---|
| 105 |
'radiogroup' => array( |
|---|
| 106 |
'state' => 'Stable', |
|---|
| 107 |
'title' => 'Radio Group', |
|---|
| 108 |
'descr' => ' Radiobutton group element that can generate a list of |
|---|
| 109 |
|
|---|
| 110 |
|
|---|
| 111 |
, |
|---|
| 112 |
|
|---|
| 113 |
'file' => array( |
|---|
| 114 |
'state' => 'Beta', |
|---|
| 115 |
'title' => 'File', |
|---|
| 116 |
'descr' => 'Advanced File upload field that uses sessions to store file data and |
|---|
| 117 |
|
|---|
| 118 |
|
|---|
| 119 |
, |
|---|
| 120 |
|
|---|
| 121 |
'group' => array( |
|---|
| 122 |
'state' => 'Beta', |
|---|
| 123 |
'title' => 'Group', |
|---|
| 124 |
'descr' => 'The group element enables you to group several form elements together |
|---|
| 125 |
|
|---|
| 126 |
, |
|---|
| 127 |
|
|---|
| 128 |
|
|---|
| 129 |
|
|---|
| 130 |
?> |
|---|