Service requests and approvals
Request forms and field types explained
The six field types, how each answer is checked before a request exists, and how to word questions so people answer them well.
Last updated
A catalogue form is the list of questions an employee answers when they request a service. You build it in Catalogue admin, under Form fields, with Add field. A form can have up to 30 fields.
The six field types
| Type | Use it for | How it is checked |
|---|---|---|
| text | A short answer such as a name or a system | Text of at most 4,000 characters |
| textarea | A longer answer such as a reason | Text of at most 4,000 characters |
| number | A quantity or a cost | Must be a number |
| date | A start date or a deadline | Must be a date in the form YYYY-MM-DD |
| select | A choice from a fixed list | Must be one of the options you listed |
| checkbox | A yes or no question | Must be yes or no. If it is required, it must be ticked |
Set up a field
- Select Add field.
- Type the question in the label box, for example Why do you need it?
- Choose the type from the list.
- Tick Required if the request cannot go ahead without an answer.
- For a select field, enter the options separated by commas. At least one is needed.
Under each field you see its Key. It is made from the label as you type, in a form such as whyDoYouNeedIt: no spaces, up to 40 characters, starting with a lower-case letter. Keys must be unique within a form.
How answers are checked
The employee sees required fields marked with an asterisk, and gets quick feedback in the browser. The server then checks every answer again, so a request cannot skip a required question. It also refuses answers that are not part of the form, so stray data is never stored. A request is only created when every answer passes.
Below the form the employee also sees Anything else we should know?, a free text box for notes.
Where the answers go
- Approvers see the answers on the Approvals page, beside Approve and Reject.
- Everyone who can see the request sees them under What was requested.
- Missing optional answers show as Not provided.
What forms cannot do
- There are no conditional fields that appear depending on another answer.
- There is no file upload field. Files can be attached to the request after it is submitted.
- There is no price or cost field on a service.
Writing tips: use plain questions, put the most important one first, and use select instead of free text whenever the answers are a known list, because a fulfiller can act on it without reading. Next, see build a catalogue item and approvals and managers. The feature overview is service requests and catalogue, and how to build a service catalogue covers the wider design.