Constructor Summary
Public Constructor | ||
public |
constructor(response: Object) |
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
Public Constructors
public constructor(response: Object) source
Params:
Name | Type | Attribute | Description |
response | Object | JSON formatted response of a flow input |
|
response.attribute | String | Attribute doesn't seem to be used |
|
response.body | Number | Other section that may have instructions |
|
response.choice_list | Array | An array of inputs available to the user |
|
response.code | String | Code to help for code found in validation expressions |
|
response.id | Number | The id of the flow input |
|
response.instructions | String | Instructions for the specific input |
|
response.locked | Array | Whether or not the response is read only |
|
response.min_label | String | Min Label for a slider |
|
response.min | Number | Min value for a slider or numeric input |
|
response.max_label | String | Max Label for a slider |
|
response.max | Number | Max value for a slider or numeric input |
|
response.question_type | String | Question Type that explain how to answer the flow input. Options are: input, single_choice, multiple_choice, pre_populated, search, search_and_upload, autocomplete, date, numeric, time, file_upload, rank_order |
|
response.required | Boolean | Whether or not the field is required |
|
response.storage_attribute | String | Storage Attribute (used for removing files) |
|
response.style | String | Style that explain how to answer the flow input. Options are: email, state, phone_number, irb, site_address, attribute, phone, email, role, last_name, first_name, prefix, dropdown, radio_buttons, calendar, slider, spinner, text_area, zipcode, json, text, checkboxes, list_box, range, physician, study_coordinator, search, inline, request_by_email, license, medical_board, cv, certificate, normal_values, staff_members, hidden, and any project custom styles |
|
response.title | String | The title of the flow input |
|
response.validation_details | Object | Any further validation information |
|
response.validation_expression | String | The regex for validation |
Public Members
public validation_details: Object source
Properties:
Name | Type | Attribute | Description |
validation_details.min | Object | String | A string date, "current" or an object with details |
|
validation_details.min.value | String | A string date or "current" |
|
validation_details.min.add | Object | ||
validation_details.min.add.day | Number | Number of days added to min value |
|
validation_details.min.add.month | Number | Number of months added to min value |
|
validation_details.min.add.year | Number | Number of years added to min value |
|
validation_details.min.subtract | Object | ||
validation_details.min.subtract.day | Number | Number of days subtracted from min value |
|
validation_details.min.subtract.month | Number | Number of months subtracted from min value |
|
validation_details.min.subtract.year | Number | Number of years subtracted from min value |
|
validation_details.max | Object | String | A string date, "current" or an object with details |
|
validation_details.max.value | String | A string date or "current" |
|
validation_details.max.add | Object | ||
validation_details.max.add.day | Number | Number of days added to max value |
|
validation_details.max.add.month | Number | Number of months added to max value |
|
validation_details.max.add.year | Number | Number of years added to max value |
|
validation_details.max.subtract | Object | ||
validation_details.max.subtract.day | Number | Number of days subtracted from max value |
|
validation_details.max.subtract.month | Number | Number of months subtracted from max value |
|
validation_details.max.subtract.year | Number | Number of years subtracted from max value |