Developer Documentation Library > Interview templates > UXUI custom properties > uxui_category_other_dialog
 
uxui_category_other_dialog
The uxui_category_other_dialog property displays either a dialog or an edit box for the other specify text.
The default text for the buttons is Clear and Submit. To change the text, set the clearButtonLabelId and submitButtonLabelId properties: for more information, see Translating text in the UXUI custom properties.
Possible values
true
Displays a dialog.
false
Displays an edit box. This is the default value.
Applies to
Categories marked with the other flag.
Example
OtherDialog "Which foods have you eaten today?"
categorical [1..]
{
Apple "Apple",
Banana "Banana",
Cherry "Cherry",
OtherFruit "Other fruit"
[
uxui_category_other_dialog = "true"
]
other fix
};
The following example shows how to use resources to specify the label text:
buttonLabels "<span class='uxui-resource'><span id='btnClear'>Clear it</span><span id='btnSubmit'>Submit it</span></span>"
info; 
q1 "What fruit do you like?{#buttonLabels.Label}"
categorical [1..]
{
    Apple "Apple",
    Banana "Banana",
    Grape "Grape",
    Orange "Orange",
    OtherFruit "Other (Click to add)"
    [
        uxui_category_other_dialog = "{ clearButtonLabelId: 'btnClear', submitButtonLabelId: 'btnSubmit' }"
   ]
    other
};
See
UXUI custom properties