![]() This holds true also for the checkbox, multi-select, and drop-down list items. For example, when defining a radio button element without the use of a dataset, the items are defined by clicking the New Radio Button and manually typing the text in the field. When defining a dataset in the Advanced field for an element, the individual items do not have to be additionally defined as the data is pulled from the XSL or a separate file. Provide the URL to the file as the argument and create the following file contents: first,second,third,fourth,fifth Preconfigured datasets include:ĭatasets defined in another file may also be used. For example, the “state” dataset includes all 50 United States so that they may be used in a selector element. This is useful for data that are frequently used, but tedious to type. The dataset attribute adds a predefined dataset to a radio button, checkbox, single-select, or multi-select element. Please see Form Custom Type Groups for more information. ![]() The custom-type-group specifies the use of a pre-defined group of user inputs such as fields necessary for address inputs. Syntax Example: custom-type-group=address See Form Custom Input Types for more information. The custom-type attribute defines a custom type for a Single-Line text field. The following example creates a multi-line text area of 3 lines in height that spans 100% of the available screen width in mobile and desktop environments. Users can input more text than the defined area as by default scroll bars and field resizers are included. ![]() Rows can be used to define the visible starting size of the text area for a multi-line text field. This does not determine the number of allowed input characters. For HTML output this attribute specifies the number of visible text lines for a textarea. The rows attribute adds a rows attribute with the specified value to a multi-line text field. Use add-class and the " Bootstrap Grid System" to define the control widths. In the syntax example, the responsive grid will force a line-break for small, medium, and large screen sizes. This attribute is extremely useful in removing odd spacing and wrapping within the form layout. The clearfix-after attribute adds a beneath the input to break the responsive form grid layout of Bootstrap as described in their documentation. Syntax Example: clearfix-after=visible-sm-block visible-md-block visible-lg-block See " Bootstrap Grid System" for more information. Note: Use Bootstrap classes to affect width adjustments to any input and to more closely control the layout of the form. In this example, a single-line text field element is used to start a fieldset and to give it the label of Basic Information.Įxample from form element panel in the CMS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |