Available is a gh-element that allows users to set the time period of time when they are available. Here, the user combines text phrases that describe a certain period of time. It is a text field with a drop-down list, where pieces of different phrases are collected.
First, the user selects the initial words, after which the next parts become available. After selecting different phrases, the user can assemble the final phrase that will be saved.
Note that only the full phrase will be saved as a field value.
This element also accepts the multiple value. Thus, the user can set the entire time when he/she is available in one field.
You can delete values or parts of a phrase by clicking the cross at the end of the phrase block.
Thus, the Available has a set of available extensions for each part of each phrase up to the end of the phrase. An element can also contain multiple phrases as values.
The current item is used to set the period when you are available for work or calls. This allows users to select the appropriate time instead of entering it, which saves them time.
The whole settings which can configure the element are the standard field settings.
This element cannot be filtered out.
The available element has only two interpretations:
This type allows to add new value or update the existed one.
This is a type of interpretation that only allows you to display the value of the field.
The field value is contains of the combination of selected words. As a result, you will receive a complete offer.
"field_value": "every weekday"
If a field contains several phrases, all of them are stored in one line separated by commas.
"field_value": "on the first minutes , except every weekday"
The data model of the element is very small. It contains only interpretation array.
|contains all element interpretation types