add reference numbers
jonhadley edited this page Feb 22, 2021
·
8 revisions
Form builder can provide reference numbers if required. This is provided by a basic reference number provider implementation, in order for a form to generate numbers the GenerateReferenceNumber
, GeneratedReferenceNumberMapping
and ReferencePrefix
values must be provided.
For example:
{
"FormName": "",
"BaseURL": "",
"StartPageUrl": "",
"FirstPageSlug": "",
"GenerateReferenceNumber": true,
"GeneratedReferenceNumberMapping": "CaseReference",
"ReferencePrefix": "TEST-",
}
Reference number will be generated and added to form and pre-submit, this will use the GeneratedReferenceNumberMapping
in the submitted answers, the generated portion of the reference number will be prefixed with the ReferencePrefix
, in the example above a submission could look like;
{
"CaseReference": "TEST-A1b2C3",
...
}
PLEASE NOTE - There is the possibility of generating duplicate reference numbers, it's wise to check the generated number hasn't been used previously.
- 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