-
Notifications
You must be signed in to change notification settings - Fork 2
InboundValues
lallysmbc edited this page Oct 2, 2020
·
5 revisions
Inbound values is used when data from an external source will be provided to formbuilder on a POST or GET action, This allows us to map the inbound values to a related field.
Inbound values can be run on both GET to be retrieved from the query string or on POST and retrieved from the form data. This is specified via the required HttpActionType.
| Property | Type | Required | Default Value | Description |
|---|---|---|---|---|
| IncomingValues | object[] | ✔️ | ❌ | List of inbound values the page accepts |
| Property | Type | Required | Default Value | Description |
|---|---|---|---|---|
| QuestionId | string | ✔️ | ❌ | QuestionId inbound value is being mapped to |
| Name | string | ✔️ | ❌ | id of inbound value |
| HttpActionType | enum | ✔️ | Unknown | Http action type the value will be retrieved on. This is either GET or POST |
| Base64Encoded | bool | ❌ | false | Specifies if the value to be retrieved is base64Encoded |
| Optional | bool | ❌ | false | specifies if the inbound value is optional |
public enum HttpActionType
{
Unknown = 0,
Get,
Post
}{
"FormName": "Full Journey of Elements",
"Pages": [
{
"Title": "page1",
"PageSlug": "page-one",
"Elements": [],
"Behaviours": [],
"IncomingValues": [
{
"QuestionId": "map.lat",
"Name": "lng",
"HttpActionType": "Post"
},
{
"QuestionId": "map.lng",
"Name": "lat",
"HttpActionType": "Post"
},
{
"QuestionId": "ref",
"Name": "ref",
"HttpActionType": "Get",
"Base64Encoded": true
}
]
}
]
}- Availability
- Actions
- Behaviours
- Breadcrumbs
-
Conditions
- String Conditions
- Date Conditions
- Integer Conditions
- File Upload Conditions
- Custom validation
-
Elements
- AddAnother
- Address
- Button
- Booking
- Checkbox
- Date Input
- Date Picker
- Declaration
- Document Download
- Document Upload
- File Upload
- H1-H6
- HR
- Image
- Inline Alert
- Link
- Map
- Multiple File Upload
- OrderedList
- Organisation
- P
- Radio
- Select
- Street
- Summary
- Success page
- Textarea
- Textbox
- Time input
- Unordered List
- Uploaded files summary
- Warning
- EnabledFor
- Feedback form
- File uploads
- Form Schema
- Header
- Inbound Values
- Integrating with PowerAutomate/0365
- Lookup
- Page
- Payment & Payment calculations
- Preview data structure
- Render conditions
- Reusable elements
- Structure tests
- Success page
- Tag parsers
- Target mapping
- Validators