
外掛標籤
開發者團隊
② 後台搜尋「Gridlane Columns for Gravity Forms」→ 直接安裝(推薦)
原文外掛簡介
Gridlane Columns for Gravity Forms adds a Columns field to the Gravity Forms form editor. Drag it above the fields you want to arrange, choose how many columns to use on desktop, tablet and mobile, and the fields below it are placed in a grid.
This plugin is an add-on and needs Gravity Forms 2.5 or later, which is a separate plugin that is not included. It does nothing without it.
This is an independent plugin by wpDose. It is not made, endorsed or supported by Gravity Forms. Gravity Forms is a trademark of its owner and is named here only to say what the plugin works with.
The Columns field
In the form editor, open Standard Fields and add Columns. Drag it above the fields you want in columns, then set in its General tab:
Desktop: columns and rows. Columns × rows is how many fields go in the grid (for example 4 × 2 = the next 8 fields).
Tablet and Mobile: columns. They show the same fields, so their rows are calculated automatically (8 fields in 2 columns = 4 rows).
Columns go from 1 to 12 and desktop rows from 1 to 50. The defaults are desktop 3 × 1, tablet 2 and mobile 1.
Fields are placed left to right, then top to bottom, one field per cell. The widths the fields were given in the form editor are ignored inside the grid. The grid ends early at a page break, the submit button or another Columns field.
In the form editor the Columns field shows a sketch of the grid for each device, and each field in a grid is marked with a line on its left and a “Columns 2/8” badge.
Breakpoints
Under Forms → Settings → Gridlane Columns you can set the screen widths at which the grids switch columns:
Tablet: screens up to (px), default 1024.
Mobile: screens up to (px), default 640. Must be smaller than the tablet width.
Screens wider than the tablet width use the desktop columns. The breakpoints apply to all forms.
