<< Click to Display Table of Contents >>
Form |
A Form Control is a representation of a sheet with questions. A server stores the definition of a Form template and the answered questions. On the device the questions contain pre-defined fields and a status that controls the flow edition. When a Form is created, its status is Pending, which means its fields must be filled by a user.
Each Form definition contains a configuration for administrators and users. Administrators are users that can create a new Form and Users can only fill a Form, without permission to delete it or to create a new one.
When a Form is created, any user or group of users of that Form can attribute to themselves the task to fill it. In this case, the Form enters an Attributed status. In this status, other users cannot edit that Form, to prevent another user or group of users to fill it at the same time.
The template to fill Forms offline is also based on the concept of attribution. When users decide to enter the Offline mode to perform a collect, all Forms attributed to them are stored on their mobile device.
After filled, a Form is automatically sent to the server, if in Online mode, or remains stored until users connect to a server. When the connection is performed, all Forms edited in Offline mode are sent to the server.
After the edition step there is a finishing step. Even when answers are sent to a server, that does not mean a Form is ready. Therefore, a last edition step consists of setting a Form as Finished.
A Form contains an Include review stage option when created, which adds a step after finishing it. This step is only available to Administrators of a Form and corresponds to the approval of data collecting.
To use a Form, configure the options described on the next table.
Available options for a Form Control
Option |
Description |
---|---|
Title |
Visible text on top of a Form Control |
Form |
Name of a Form-type Connection of a Form Control |
Height |
Height, based on the default height of a Control, of a Form |
State |
State of a Form Control. Possible values for this option are 0: Pending, 1: Attributed, 2: Finished, or 3: Approved |
Field |
Allows defining a filter for the name of a field of a Form Control |
Value |
Allows defining a filter for the value of a field of a Form Control |