Bootstrap 12-Grid
Last updated
Last updated
This is the bootstrap 12 grid layout package for making responsive forms. It is meant to work with the bootstrap components package or any other compatible component packages. You can build a responsive layout for your form using this combination or components and layouts. 12grid is based on bootstrap grid system, see https://getbootstrap.com/docs/5.0/layout/grid/ for more details.
See below the Layout Containers which can be found within the Bootstrap 12-Grid Layout package:
Container, based on the Bootstrap Container is used to contain, pad, and (sometimes) center the content within them. While containers can be nested, most layouts do not require a nested container.
Constraints : A Container can be dropped only at the root of the form layout and can contain only Row, therefore you will be allowed to drag & drop into it only Row layout or templates starting with rows (e.g. Row and 1 Column, Label and Field...).
These are the steps for creating a Container:
Open the Form Editor of your responsive form
Find Container in Bootstrap 12-Grid section of the components' pallet
Drag and drop the Container component in the form
Add at least one Row component
Rows are wrappers for columns. Each column has horizontal padding (called a gutter) for controlling the space between them. This padding is then counteracted on the rows with negative margins to ensure the content in your columns is visually aligned down the left side. Rows also support modifier classes to uniformly apply column sizing and gutter classes to change the spacing of your content.
Constraints : A row can contain only Column containers.
These are the steps for creating a Row:
Open the Form Editor of your responsive form
Find Row in Bootstrap 12-Grid section of the components' pallet
Add at least one Column component
Columns are at the core of the 12 Grid Layout system. Nested within Row containers, they can divide the parent row's width to up 12 blocks of same relative size, allowing you to create different combinations of elements that span any number of columns. Column classes indicate the number of template columns to span (e.g., col-4 spans four). widths are set in percentages so you always have the same relative sizing.
Constraints : A column can contain any component and any layout containers except for Container, Column or Flex Item.
Can nest rows into a column to further organize the layout:
These are the steps for creating a Column:
Open the Form Editor of your responsive form
Find Column in Bootstrap 12-Grid section of the components' pallet
Drag and drop the Column component in a Row component
The following are ready to use layout templates based on the 12 Grid Layout.
A quick start for a 12 Grid layout. These 3 templates Row with 1 Column, Row with 2 Columns, Row with 3 Columns are row layout containing already 1, 2 or 3 equally sized columns.
These are the steps for creating a Row-With-Column:
Open the Form Editor of your responsive form
Find Row with 1 Column / Row with 2 Columns / Row with 3 Columns in the Bootstrap 12-Grid section of the components' pallet
A predefined template which comes with a row and 2 columns ( md-4 and md-8 ) having a Label component in the first column and a Textbox component in the second column.
These are the steps for creating a Label-And-Field:
Open the Form Editor of your responsive form
Find Label-And-Field in Templates subsection of the Bootstrap 12-Grid section in the components' pallet
A predefined layout of nested rows and columns; you can further edit it by adding or removing other layout containers.
These are the steps for creating a Responsive-Form-Template:
Open the Form Editor of your responsive form
Find Responsive-Form-Template in Templates subsection of the Bootstrap 12-Grid section in the components' pallet
Drag and drop the Responsive-Form-Template component into an empty space of the form, as an independent component