diff --git a/src/core/js/form_elements.js b/src/core/js/form_elements.js index 4b5bdf55e555a5755280b558770e4b2995731de7..5099971e402ddf3f9bb94580fad737c5b30594e9 100644 --- a/src/core/js/form_elements.js +++ b/src/core/js/form_elements.js @@ -25,25 +25,25 @@ * form_elements module for reusable form elemenst which already have a basic * css styling. * - * IMPORTANCE CONCEPTS + * IMPORTANT CONCEPTS * - * FIELD - an HTMLElement which wraps a LABEL element (the fields name) and the - * INPUT element together. By default, FIELDS are a flat and stringy list of - * key-value pairs. Use SUBFORMS for nesting FIELDS. FIELDS come in the - * following flavours: - * INTEGER - * DOUBLE - * DATE - * RANGE - * REFERENCE_DROP_DOWN + * - FIELD - an HTMLElement which wraps a LABEL element (the fields name) and the + * INPUT element together. By default, FIELDS are a flat and stringy list of + * key-value pairs. Use SUBFORMS for nesting FIELDS. FIELDS come in the + * following flavours: + * - INTEGER + * - DOUBLE + * - DATE + * - RANGE + * - REFERENCE_DROP_DOWN * - * GROUP - a set of FIELDS and SUBFORMS. FIELDS and SUBFORMS can belong to + * - GROUP - a set of FIELDS and SUBFORMS. FIELDS and SUBFORMS can belong to * multiple groups. The group can be used to disable or enable a set of FIELDS * or SUBFORMS at once. Therefore, GROUPS are mainly used for the look and feel * of the form. However, disabled fields are also ignored in the * json-conversion of a form. * - * SUBFORM - an HTMLElement which contains FIELDS and other SUBFORMS. SUBFORMS + * - SUBFORM - an HTMLElement which contains FIELDS and other SUBFORMS. SUBFORMS * can be used to nest FIELDS, which is not supported by HTML5 but allows only * for flat key-value pairs. *