Form Builder: Overview |
Content |
||||||||||||||||||
|
Creating Forms |
|
|
To create a Form, begin by accessing the Form Builder page:
1. | Open the Form List page (Lab Admin → eForms → Form Definitions), then click "Add". This opens the Form Maintenance page. |
2. | In the Form Maintenance page, click the Form Builder button. This opens the Form Builder. |
Form Builder Frames |
|
|
![]() |
Frame | Description |
Editing Frame (right) |
Area where you layout the Form and insert Objects into it. |
Properties Frame (lower left) |
Lets you view and set properties of one or more Objects selected in the Editing frame. Ctrl-click to select multiple objects. |
Objects Frame (upper left) |
Shows hierarchies of Objects in the Editing frame, and lets you perform operations on the Objects. |
Object Tree |
|
|
These types of Objects can be placed on the Form, along with definitions of their properties and behaviors:
• | Datasources
If the Form Type is "Worksheet", Data Sources let you bind Fields to actual records in the database. See eForm Worksheet Principles. |
• | Fields
These are typically input fields based on HTML input tags, with properties that define display, operation, and processing capabilities. |
• | Groups
Related Fields can be placed into one or more Groups that can be hidden or disabled, and have their own validation rules. |
• | Sections
A Section represents an HTML div, table or table row on the form. Sections can be hidden, disabled, or be made repeatable to allow dynamic forms (similar to JavaScript swaps). |
• | Elements
An Element is an object with dynamic properties (such as a hyperlink that can be shown or hidden). |
• | Pages
A Form can have multiple Pages. |
The Objects frame shows a tree view of these Objects (below). The tab order of Fields in the Form is defined by the order of these Fields in the Object frame.
![]() |
Objects | Identified by... | |||||||||||||||||||||||||||
Data Sources | Worksheet Type (see eForm Worksheet Principles). | |||||||||||||||||||||||||||
Fields |
|
|||||||||||||||||||||||||||
Groups |
|
|||||||||||||||||||||||||||
Sections |
|
|||||||||||||||||||||||||||
Elements |
|
|||||||||||||||||||||||||||
Pages | Clicking a Page puts the focus on that Page and renders
the Page properties.
The Page title is shown next to the Page. |
Editing Frame |
|
|
Overview |
The Editing frame uses the Formatted Text Editor based on the Ephox TinyMCE HTML editor.
Menus |
Add Page |
Inserts a new Page:
|
||||||||||
Edit Page | Lets you edit the page characteristics specified by Add Page (above). | ||||||||||
Remove Page | Deletes the current Page. You cannot delete the first Page. |
Undo | Reverses changes made to text and Field properties. |
Redo | Repeats changes made to text and Field properties that were reversed by "Undo". |
Cut
Copy |
Cuts/Copies the selected item.
Copying or cutting a Field maintains the Field properties. |
Paste | Pastes the selected HTML. |
Paste as text | Pastes unformatted text. |
Select All | Selects all items. |
Insert/edit link | Inserts or edits a hyperlink anchor tag:
|
|||||||||||||||||||||||||||||||||||||
Anchor | Inserts a named anchor tag:
|
|||||||||||||||||||||||||||||||||||||
Insert/edit image | Opens a dialog that says you can drag over your image
file or click to select a file from a Windows file dialog.
Clicking an image displays a shortcut toolbar with these buttons:
|
|||||||||||||||||||||||||||||||||||||
Horizontal line | Inserts an <hr /> tag (horizontal rule). | |||||||||||||||||||||||||||||||||||||
Special character | Opens a dialog from which you can choose characters other than alphanumeric. | |||||||||||||||||||||||||||||||||||||
Insert/edit panel | Inserts or edits an HTML div:
Clicking a div displays a shortcut toolbar with these buttons:
|
|||||||||||||||||||||||||||||||||||||
Insert/edit Group Box | Inserts an HTML fieldset:
|
|||||||||||||||||||||||||||||||||||||
Insert/edit Button | Inserts an HTML button:
There are no properties in the lower left frame for Buttons. Clicking a button displays a shortcut toolbar with these buttons:
|
|||||||||||||||||||||||||||||||||||||
Insert HTML | Inserts HTML content into the Form.
The shortcut toolbar will be whatever the Form Builder can provide for the rendered HTML. For example, if the HTML builds a table, you will get the Table shortcut toolbar when you click the table. |
|||||||||||||||||||||||||||||||||||||
Import From Word | Opens a dialog that says you can drag over your file or
click to select a file from a Windows file dialog.
This uses the same shortcut toolbar as the Insert/edit panel menu item. |
Visual Aids | Shows/hides visual boundary elements such as table borders. |
Applies formatting to the selected text:
Bold | Strikethrough | |
Italic | Superscript | |
Underline | Subscript |
Formats | |
headings | Allows selection of standardized heading styles (similar to Microsoft Word headings). |
Inline | Applies inline HTML element styles (Bold, Italic, Underline, Strikethrough, Superscript, Subscript, and Code brackets). |
Blocks | Applies block HTML element styles (Paragraph, Blockquote, div, and Pre). |
Alignment | Aligns the selected object with respect to the page (Left, Center, Right, and Justify). |
Clear formatting | Clears formatting applied in the session. |
Insert Table | Opens a graphical grid that lets you click and drag to specify the number of rows and columns. | ||||||||||||||||||||||||||||||||||||||||||||||||||||
Table properties | Determines table properties for the table that has focus:
Clicking within a table displays a shortcut toolbar with these buttons:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
Table Layout | Allows table column widths to be set to fixed values
or auto-sized.
To set column widths to fixed values, check "Fix Table Layout", then specify column widths using the "Cell → Cell Properties" menu item. To auto-size columns, uncheck "Fix Table Layout". |
||||||||||||||||||||||||||||||||||||||||||||||||||||
Delete table | Deletes the table that has focus. | ||||||||||||||||||||||||||||||||||||||||||||||||||||
Cell | Determines cell properties for the cell that has focus:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
Row | Determines row properties for the row that has focus:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
Column | Determines column properties for the column that has
focus:
|
Toolbar |
Add Page |
Performs the Add Page menu operation. | |||||||||||||||||||||
Restore last draft |
Uses the TinyMCE autosave plugin to restore the last
draft of the Form.
For more information, see the TinyMCE documentation at http://archive.tinymce.com/wiki.php/Plugin:autosave. |
|||||||||||||||||||||
Undo |
Reverses changes made during the current editing session. | |||||||||||||||||||||
Redo |
Repeats changes that were reversed by "Undo". | |||||||||||||||||||||
Bold |
Applies bold formatting to the selected text. | |||||||||||||||||||||
Italic |
Applies italic formatting to the selected text. | |||||||||||||||||||||
Underline |
Underlines the selected text. | |||||||||||||||||||||
Align left |
Left-aligns the selected object with respect to the page. | |||||||||||||||||||||
Align center |
Centrally-aligns the selected object with respect to the page. | |||||||||||||||||||||
Align right |
Right-aligns the selected object with respect to the page. | |||||||||||||||||||||
Justify |
Justifies the selected object with respect to the page. | |||||||||||||||||||||
Insert/edit link |
Performs the same operation as the Insert/edit link menu item. | |||||||||||||||||||||
Insert/edit image |
Performs the same operation as the Insert/edit image menu item. | |||||||||||||||||||||
Insert drawing |
Opens the TinyMCE drawing plugin, which offers basic
artwork tools similar to a very simple vector drawing app.
This uses the same shortcut toolbar as the Insert/edit image menu item. |
|||||||||||||||||||||
Horizontal line |
Performs the same operation as the Horizontal line menu item. | |||||||||||||||||||||
Special character |
Performs the same operation as the Special character menu item. | |||||||||||||||||||||
Insert button |
Performs the same operation as the Insert/edit Button menu item. | |||||||||||||||||||||
Font Family |
Offers the TinyMCE default fonts (see https://www.tinymce.com/docs/configure/content-formatting/#font_formats. | |||||||||||||||||||||
Font Sizes |
Offers the TinyMCE default font sizes (see https://www.tinymce.com/docs/configure/content-formatting/#font_formats. | |||||||||||||||||||||
Text color |
Determines the color of the selected text. | |||||||||||||||||||||
Background color |
Determines the background color beneath the selected text. | |||||||||||||||||||||
Bulleted list |
Inserts an HTML bulleted list with a choice of bullet styles: Default (same as Disc), Circle, Disc, and Square. | |||||||||||||||||||||
Numbered list |
Inserts an HTML numbered list with a choice of numbering styles: Default (Arabic), Lower Alpha, Lower Greek, Lower Roman, Upper Alpha, Upper Roman. | |||||||||||||||||||||
Decrease indent |
Outdents the level of the selected object (defaults to 30px). | |||||||||||||||||||||
Increase indent |
Indents the level of the selected object (defaults to 30px). | |||||||||||||||||||||
LabVantage Fields |
Inserts a LabVantage Field. See Form Builder Fields. | |||||||||||||||||||||
|
Inserts a predefined Field Definition. The Edit style depends on the type of Field. | |||||||||||||||||||||
Insert Label |
See Form Builder Fields → About Labels. | |||||||||||||||||||||
|
Opens a lookup that lets you add a predefined Formlet
Definition to the Form. Formlets are added as Sections.
The Version used is saved in the Document. You are then asked how you want to import the Formlet:
Whether "Editable in Form" is checked or unchecked (in the Formlet
Definition), you can edit the Formlet to change the Formlet Definition, Options in the Formlet Definition determine if the Formlet is editable or can be bound to a Datasource (see eForm Worksheet Principles). |
Related Form Builder Documentation |
|
|
Form Builder tools are described by these documents:
|
||
|
||
|
||
|
Form Builder: Elements | |
|
||
|
||
|
Worksheets: |