-
Notifications
You must be signed in to change notification settings - Fork 2
submit form
Harry Woodall edited this page Mar 29, 2021
·
3 revisions
SubmitForm subits a form to a web service
The syntax is:
- BehaviourType: "SubmitForm"
- conditions: List
- SubmitSlugs: List
Submit Slug has the following properties:
- Environment: string,
- URL: string (absolute URL of service)
- AuthToken: string (authorization token)
- Type(optional): string (type of authorization)
The below behaviour submits a form to the accidents and incident service
"Behaviours": [
{
"conditions": [],
"behaviourType": "SubmitForm",
"SubmitSlugs": [
{
"Environment": "local",
"URL": "https://localhost:44379/api/v1/Home",
"AuthToken": "accidentsandincidentsToken"
},
{
"Environment": "Int",
"URL": "https://int-submiturl/accidentsandincidentsservice/api/v1/Home",
"AuthToken": "int-authtoken"
},
{
"Environment": "QA",
"URL": "https://qa-submiturl/accidentsandincidentsservice/api/v1/Home",
"AuthToken": "qa-authtoken"
},
{
"Environment": "Stage",
"URL": "https://stage-submiturl/accidentsandincidentsservice/api/v1/Home",
"AuthToken": "stage-authtoken"
},
{
"Environment": "Prod",
"URL": "https://prod-submiturl/accidentsandincidentsservice/api/v1/Home",
"AuthToken": "prod-authtoken"
}
]
}
]
- 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