A single line field usually is a simple text field that needs attention. The agent types the actual word or part of a sentence.
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
|label||Description above the field|
|default||Default text if not entered by agent|
|placeholder||Text 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:
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).
placeholder="Always make sure you use proper captions"]
Agents will see this:
Advanced use case: with default value
Default value is used, if agent doesn't decide to change it.
placeholder="Always make sure you use proper captions"
default="Rio de Janeiro"]
And for the agent: