@@ 1790-1792 (lines=3) @@ | ||
1787 | $ff += 1 << 0; |
|
1788 | } |
|
1789 | // required: Specifies whether a field requires a value. |
|
1790 | if (isset($prop['required']) AND ($prop['required'] == 'true')) { |
|
1791 | $ff += 1 << 1; |
|
1792 | } |
|
1793 | // multiline: Controls how text is wrapped within the field. |
|
1794 | if (isset($prop['multiline']) AND ($prop['multiline'] == 'true')) { |
|
1795 | $ff += 1 << 12; |
|
@@ 1822-1824 (lines=3) @@ | ||
1819 | $ff += 1 << 18; |
|
1820 | } |
|
1821 | // Sort: If set, the field's option items shall be sorted alphabetically. |
|
1822 | if (isset($prop['Sort']) AND ($prop['Sort'] == 'true')) { |
|
1823 | $ff += 1 << 19; |
|
1824 | } |
|
1825 | // fileSelect: If true, sets the file-select flag in the Options tab of the text field (Field is Used for File Selection). |
|
1826 | if (isset($prop['fileSelect']) AND ($prop['fileSelect'] == 'true')) { |
|
1827 | $ff += 1 << 20; |
|
@@ 1842-1844 (lines=3) @@ | ||
1839 | $ff += 1 << 23; |
|
1840 | } |
|
1841 | // comb: If set to true, the field background is drawn as series of boxes (one for each character in the value of the field) and each character of the content is drawn within those boxes. The number of boxes drawn is determined from the charLimit property. It applies only to text fields. The setter will also raise if any of the following field properties are also set multiline, password, and fileSelect. A side-effect of setting this property is that the doNotScroll property is also set. |
|
1842 | if (isset($prop['comb']) AND ($prop['comb'] == 'true')) { |
|
1843 | $ff += 1 << 24; |
|
1844 | } |
|
1845 | // radiosInUnison: If false, even if a group of radio buttons have the same name and export value, they behave in a mutually exclusive fashion, like HTML radio buttons. |
|
1846 | if (isset($prop['radiosInUnison']) AND ($prop['radiosInUnison'] == 'true')) { |
|
1847 | $ff += 1 << 25; |
|
@@ 1854-1856 (lines=3) @@ | ||
1851 | $ff += 1 << 25; |
|
1852 | } |
|
1853 | // commitOnSelChange: Controls whether a field value is committed after a selection change. |
|
1854 | if (isset($prop['commitOnSelChange']) AND ($prop['commitOnSelChange'] == 'true')) { |
|
1855 | $ff += 1 << 26; |
|
1856 | } |
|
1857 | $opt['ff'] = $ff; |
|
1858 | // defaultValue: The default value of a field - that is, the value that the field is set to when the form is reset. |
|
1859 | if (isset($prop['defaultValue'])) { |