<< Click to Display Table of Contents >>
Fields |
The Fields area allows managing Fields of a Form. The available options for this area are described on the next table.
Available options for the Fields area
Option |
Description |
---|---|
Add |
Adds a new Field to a Form |
Edit |
Edits the selected Field |
Remove |
Removes the selected Field from a Form |
The available options when selecting the Edit option are described on the next table.
Available options for the Edit option
Option |
Description |
---|---|
Text |
Text displayed during Form's filling |
Name |
Text identifying a Field |
Type |
Type of a Field. Please check table Available types for Form Fields for more information about this option |
Complement |
Some Field types require complementary data, which can be informed in this option |
Reserved for administrators |
Indicates whether a Field can only be answered by administrators |
Allow the value to be unavailable |
Allows users to deny an answer in case of any downtime |
Allow annotations |
Allows users to add annotations to a Field |
Available types for Form Fields
Data Type |
Description |
---|---|
Number |
Allows using number values |
Short text |
Texts for names or descriptions |
Long text |
Longer texts, such as comments |
Digital |
Allows using true or false values |
Image |
An image file to send to a server |
QR Code |
Activates the reading of a QR Code |
QRCODE Check |
Executes the verification of a QR Code. Possible statuses for this type of Field are 0: Not verified, -1: Incorrectly verified, or 1: Correctly verified. The Complement option must contain the expected text for that verification. Please check the next text for more information |
Options |
Allows using option for a user's selection. The Complement option must contain these options separated by semicolons |
Group |
Used as a separator for questions on a Form. It does not save any data on the server |
Static image |
Used to display an image between questions of a Form. It does not save any data on the server |
Date |
Allows date values. The input format for this data type is DD/MM/YYYY HH:MM:SS |
NOTE |
The QRCODE Check type does not generate a QR Code. This code can be generated on the window to define a Page or by an external generator of QR Codes. |
To access values used in the Complement option for user's selection, users can use the next code.
var sector = "Elipse";
var area = "Support";
var check = sector + area;
var formName = "formSupport";
if (formName) {
WriteForm(formName + ":",
{Name:{value:sector},
setor:{value:area},
QRCheck:{complement:check}},
function(er) {
}
);
}