-
Notifications
You must be signed in to change notification settings - Fork 2
Building a form
This will take you over the basic process of building a form within formbuilder, this will not include more advanced options like Actions/Inbound Values or Payment Calculations.
{
"FormName": "Test form",
"BaseURL": "test-form",
"StartPageUrl": "https://www.stockport.gov.uk/start/iag",
"FirstPageSlug": "page-one"
}
This is the start of your form, You are required to have a FormName
, BaseURL
, StartPageUrl
and FirstPageSlug
.
ForName
and FirstPageSlug
is used within the header section Header info
BaseURL
refers to the base url within the url example, which users will use to access the form.
The FirstPageSlug
indicates the entry point to the form
https://forms.stockport.gov.uk/BaseURL/FirstPageSlug
A user can navigate to the form via forms.stockport.gov.uk/BaseURL/ without the FirstPageSlug
and with the FirstPageSlug
. Both are valid.
https://forms.stockport.gov.uk/BaseURL/
https://forms.stockport.gov.uk/BaseURL/FirstPageSlug
Add basic availability to the form, by default forms are enabled, when developing forms it is recommended to disable the form within stage and production.
Add breadcrumbs for success page and endpoint pages which require them.
You now need to define some pages for your form, Pages are placed within the Pages
array.
{
"FormName": "Test form",
"BaseURL": "test-form",
"StartPageUrl": "https://www.stockport.gov.uk/start/iag",
"FirstPageSlug": "page-one",
"Pages": []
}
The success page is a required page which must be present within the Pages
. It must also have the PageSlug
of success
- 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