Possible enumeration values:

NameValueDescription
Bool

0

Defines a boolean type. Value will be of type boolean.

Int

1

Defines an integer type. Value will be of type Number as the concept of integers does not really exist in JavaScript. However you will always get a whole number from the API and the API will ignore any decimals in input values.

Decimal

2

Defines a decimal. Value will be of type Number

Date

3

Defines a date. Value will be of type Date. Hour, minutes and seconds will be set to 00:00:00 on output, we will ignore hours, minutes and seconds on input.

DateTime

4

Defines date and time. Value will be of type Date.

TimeSpan

5

Defines a timespan in hours. Value will be of type Number.

String

6

Defines a string. Value will be of type string.

Group

7

Defines a group. Value will be complex type containing list of FieldModels.

Signature

8

Defines a signature. Value will be an id of an attachment containing an image of the signature.

Distance

9

Defines distance in kilometer. Value will be of type Integer.

PhoneNumber

10

Defines a telephone number.

Email

11

Defines an email address.

GeoCoordinate

12

Defines geographical coordinate, see System.Device.Location.GeoCoordinate for further details.

Attachment

13

Defines an attachment. Value will be an id of an attachment containing an image of the attachment.

Multiline

14

Defines a multiline. Pretty much the same thing as a string but it shows several lines on the page (instead of a single line)

URL

15

Defines a URL. Basically a URL for an internet site. Value will be of type string.