A number field usually is used when there are calculations or currencies involved. The field only accepts numbers and/or decimal points.
What you'll learn:
- What the configuration options are
- How to configure this field (for admins)
- a starter use case
- A use case with a placeholder
- Another use case with a default value
This field is created with the following configuration options
|type||number||yes||a number or decimal field|
|label||Description above the field|
|default||Default number/decimal if not entered by agent|
|placeholder||Number/decimal in field, not used|
How to configure (for admins)
Simply paste these codes in the text-editor of a macro comment field. The codes don't work in the macro comment field yet. They will be fired when as a macro is applied to a ticket.
Starter use case
The most basic example out there. No more copy-delete-replace bold text from a macro. Directly start typing to insert the text needed for this specific response. To configure a single line text field simply use this shortcode:
We will reimburse you for the amount of £[type="number" label="Amount"]
This is what it looks like for an agent:
Advanced use case: with placeholder
A placeholder is never actually used, it just there as help for an agent (the light gray text on the image).
We will reimburse you for the amount of £[type="number" label="Amount" placeholder="0.1"]
Agents will see this:
Advanced use case: with default value
Default value is used, if agent doesn't decide to change it.
We will reimburse you for the amount of £[type="number" label="Amount" default="3"]
And for the agent: