The following table outlines the field types and possible values for standard FastField Form submissions. These values are reflected in submitted form JSON and in the script rules engine for use in calculations and rule conditions.
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
}