Fields

<< Click to Display Table of Contents >>

 

Fields

The Fields area allows managing a Form's fields. The available options for this area are described on the next table.

Available options for the Fields area

Option

Description

Add Add

Adds a new field to a Form

Edit Edit

Edits the selected field

Remove Remove

Removes the selected field from a Form

 

The available options when selecting the Edit 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 this field

Type

Field type. 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 this 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 this 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 the server

QR Code

Activates the reading of a QR Code

QRCODE Check

Executes a QR Code verification. Possible statuses for this field are 0: Not verified, -1: Incorrectly verified, or 1: Correctly verified. The Complement field must contain the expected text for that verification. Please check the next text for more information

Options

Allows using option for 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

A 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) {
    }
  );
}

Was this page useful?