Wiki source code of Validationsregel-Plugin
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | [[**Plugin download**>>url:https://customer.formcycle.eu/index.php/s/a87vavAsNcFHMId||rel="noopener noreferrer" target="_blank"]] | ||
| 2 | |||
| 3 | {{content/}} | ||
| 4 | |||
| 5 | {{figure image="plugin_common_validation_rules_en.png" width="600"}} | ||
| 6 | The validation rule plugins adds new data types to the {{designer /}}. You can select a data type in the properties panel to the right. | ||
| 7 | {{/figure}} | ||
| 8 | |||
| 9 | This plugin adds a few commonly used data types to the {{designer/}}. | ||
| 10 | |||
| 11 | == Available data types == | ||
| 12 | |||
| 13 | Once you have installed this plugin, there are a few new data types available for form fields of type [[input>>doc:Formcycle.Designer.Form.FormElements.Input]] and [[textarea>>doc:Formcycle.Designer.Form.FormElements.Textarea]]: | ||
| 14 | |||
| 15 | ; Amount of money | ||
| 16 | : Validates for an amount of money, with up to two decimal places and a comman as the decimal separator. | ||
| 17 | ; BIC 11 characters (domestic) | ||
| 18 | : Validates for an international bank identifier with exactly 11 characters. | ||
| 19 | ; BIC 8-11 characters (foreign country) | ||
| 20 | : Validates for an international bank identifier with 8 to 11 characters, allowing foreign bank account numbers. | ||
| 21 | ; BIC 8-11 characters | ||
| 22 | : Validates for an international bank identifier with 8 to 11 characters. | ||
| 23 | ; IBAN | ||
| 24 | : Validates for an international bank account number. | ||
| 25 | ; Number (decimal separator: period) | ||
| 26 | : Validates for a decimal number with a period as the decimal separator. Decimal places are not required. | ||
| 27 | ; Date (UK) | ||
| 28 | : Validates for a UK date in the format dd/mm/yyyy, e.g. 31/05/2020 | ||
| 29 | ; Date (US) | ||
| 30 | : Validates for a US date in the format mm-dd-yyyy, e.g. 05-31-2020 | ||
| 31 | |||
| 32 | == Changelog == | ||
| 33 | |||
| 34 | === 2.0.0 === | ||
| 35 | |||
| 36 | * Update for version 7 of {{formcycle/}} | ||
| 37 | * New validation rules for English date formats (UK, US) | ||
| 38 | |||
| 39 | === 1.2.0 === | ||
| 40 | |||
| 41 | * Minor bug fixes | ||
| 42 | |||
| 43 | === 1.1.1 === | ||
| 44 | |||
| 45 | * Fix: IE Java-Script | ||
| 46 | |||
| 47 | === 1.0.1 === | ||
| 48 | |||
| 49 | * Fix: Validation did not always work correctly for repeated elements. | ||
| 50 | |||
| 51 | === 1.0.0 === | ||
| 52 | |||
| 53 | * Initialer Release. |