CompareField
CompareField (comparefield)
A compareField is a field that allows you to combine values from multiple fields. Thanks to this field you can combine several fields into one and send as e.g. request title.
example:
{
"fields": [
{
"id": "checkBoxField"
},
{
"id": "textField"
}
],
"output": "${textField} <-> ${checkBoxField}"
}
This field has no view, it is a virtual field!
For example:
We have two fields "First name" and "Last name", we want these values to be sent as one field, e.g. the title of the request, and we also want to add "Your name:".
{
"fields": [
{
"id": "UserFirstName"
},
{
"id": "UserLastName"
}
],
"output": "Your Name: ${UserFirstName} ${UserLastName}"
}
Field of type "compareField" had the identifier set to "UserFristNameAndLastName".
Its output value was "Your Name: John Kowalski".