Field type values

Prev Next

Overview

There are a variety of field types that you can add to your forms (Photo, Static Text, List, etc.). Each field type contains certain values that can be useful to know for advanced calculations and rule conditions within the script rules engine. These values are also reflected in the JSON data of submitted forms.  Field Type Values  The following table outlines the field types and possible values for standard FastField form submissions

Field Type

Data Type

Domain of Values

Example

Notes

Switch

Boolean

true, false

true

true=Yes, false=No

Yes / No / NA

Integer

1, 0, -1

1

1=Yes, 0=No, -1=N/A

Photo

String

N/A

73e0d68e-a648-43e9-9299-518cb81e8359.jpg

File Name of Jpg or PNG stored in Amazon S3 bucket

Numeric

Numeric (Integer or Double based on Field Definition)

Any Numeric Value

10

 

Rating

Integer

Numeric value from 1 to 10

5

 

Date/Time

String of the date and time in ISO 8601 date format

Any Valid Date

2014-01-16T15:12:56.808+00:00

 

Multi-Line Text

String

Any String Value

Text Value

 

Static Text

String

Any String Value

Text Value

 

Video

String

N/A

73e0d68e-a648-43e9-9299-518cb81e8359.m4v

File Name of Jpg or PNG stored in Amazon S3 bucket

Audio

String

N/A

73e0d68e-a648-43e9-9299-518cb81e8359.caf

File Name of Jpg or PNG stored in Amazon S3 bucket

Formatted Input

String

String value formatted to mask

555-55-5555

 

Signature

String

N/A

73e0d68e-a648-43e9-9299-518cb81e8359.jpg

File Name of Jpg or PNG stored in Amazon S3 bucket

Computed

Double

Any Numeric Value

25.25

 

Subform

Array of sub-form key value property Objects

Any array that contains sub-form key value property Objects

See Example Below

 

List / Option List

String

Array

See Example Below

 

Location Selector

Location Object

N/A

See Example Below

 

Subform Value Example:

"subform_1": [
{
    "name": "john",
    "phone": "555-555-5555"
},
{
    "name": "jim",
    "phone": "555-555-5555"
}]

List Selector Value Example:

"interests" : [
    "Arts & Entertainment",
    "Autos & Vehicles",
    "Books & Literature"
]

Location Selector Example:

"location_of_review" : {
    "horizontal_accuracy" : 0,
    "vertical_accuracy" : 0,
    "longitude" : 0,
    "latitude" : 0
}