|
Set to false to hide empty page description in design mode
- Type:
-
boolean writable
- Implemented in:
-
settings
|
|
Set to false to hide empty page title and description in design mode
- Type:
-
boolean writable
- Implemented in:
-
settings
|
|
Set this property to false to stop showing "Compete" button when the complete trigger is going to be executed.
- Type:
-
boolean writable
- Implemented in:
-
settings
|
|
Options for SurveyJS comparator. By default we trim strings and compare them as case insensitive. To change the behavior you can use following code:
settings.comparator.trimStrings = false; //"abc " will not equal to "abc". They are equal by default.
settings.comparator.caseSensitive = true; //"abc " will not equal to "Abc". They are equal by default.
- Type:
-
{ trimStrings: boolean; caseSensitive: boolean; } writable
- Implemented in:
-
settings
|
|
Override this function, set your function, if you want to show your own dialog confirm window instead of standard browser window.
- Type:
-
(message: string) => boolean writable
- Implemented in:
-
settings
|
|
Specifies a list of custom icons.
Use this property to replace SurveyJS default icons (displayed in UI elements of SurveyJS Library or Creator) with your custom icons.
For every default icon to replace, add a key/value object with the default icon's name as a key and the name of your custom icon as a value.
For example: Survey.settings.customIcons["icon-redo"] = "my-own-redo-icon"
- Type:
-
{} writable
- Implemented in:
-
settings
|
|
default locale name for localizable strings that uses during serialization, {"default": "My text", "de": "Mein Text"}
- Type:
-
string writable
- Implemented in:
-
settings
|
|
Disable the question while choices are getting from the web service
- Type:
-
boolean writable
- Implemented in:
-
settings
|
|
Set this property to true to execute the complete trigger on value change instead of on next page.
- Type:
-
boolean writable
- Implemented in:
-
settings
|
|
Set this property to false to execute the skip trigger on next page instead of on value change.
- Type:
-
boolean writable
- Implemented in:
-
settings
|
|
Set it to true to serialize itemvalue instance always as object even if text property is empty
const item = new Survey.ItemValue(5);
item.toJSON(); //will return {value: 5}, instead of 5 by default.
- Type:
-
boolean writable
- Implemented in:
-
settings
|
|
Set it to true to serialize itemvalue text property, even if it is empty or equals to value
const item = new Survey.ItemValue("item1");
item.toJSON(); //will return {value: item1, text: "item1"}, instead of "item1" by default.
- Type:
-
boolean writable
- Implemented in:
-
settings
|
|
separator that can allow to set value and text of ItemValue object in one string as: "value|text"
- Type:
-
string writable
- Implemented in:
-
settings
|
|
By default all rows are rendered no matters whwther they are visible.
Set it true, and survey markup rows will be rendered only if they are visible in viewport.
This feature is experimantal and might do not support all the use cases.
- Type:
-
boolean writable
- Implemented in:
-
settings
|
|
Default cell type for dropdown and dynamic matrices
- Type:
-
string writable
- Implemented in:
-
settings
|
|
Default row name for matrix (single choice)
- Type:
-
string writable
- Implemented in:
-
settings
|
|
Maximum row count in dynamic matrix
- Type:
-
number writable
- Implemented in:
-
settings
|
|
Maximum rowCount that returns in addConditionObjectsByContext function
- Type:
-
number writable
- Implemented in:
-
settings
|
|
Set this property to false, to render matrix dynamic remove action as button.
It is rendered as icon in new themes ("defaultV2") by default.
- Type:
-
boolean writable
- Implemented in:
-
settings
|
|
Total value postfix for dropdown and dynamic matrices. The total value stores as: +
- Type:
-
string writable
- Implemented in:
-
settings
|
|
Set the value as string "yyyy-mm-dd". text questions with inputType "date" will not allow to set to survey date that greater than this value
- Type:
-
string writable
- Implemented in:
-
settings
|
|
This property tells how many times survey re-run expressions on value changes during condition running. We need it to avoid recursions in the expressions
- Type:
-
number writable
- Implemented in:
-
settings
|
|
Set this property to change the default value of the maxWidth constraint
- Type:
-
string writable
- Implemented in:
-
settings
|
|
Set the value as string "yyyy-mm-dd". text questions with inputType "date" will not allow to set to survey date that less than this value
- Type:
-
string writable
- Implemented in:
-
settings
|
|
Set this property to change the default value of the minWidth constraint
- Type:
-
string writable
- Implemented in:
-
settings
|
|
A value to save in survey results when respondents select the None choice item.
- Type:
-
string writable
- Implemented in:
-
settings
|
|
- Type:
-
{ lifetime: number; } writable
- Implemented in:
-
settings
|
|
Maximum panel count in dynamic panel
- Type:
-
number writable
- Implemented in:
-
settings
|
|
rankingDragHandleArea
property
|
|
Specifies which part of a choice item item responds to a drag gesture in Ranking questions.
Possible values:
"entireItem" (default) - Users can use the entire choice item as a drag handle.
"icon" - Users can only use the choice item icon as a drag handle.
- Type:
-
string writable
- Implemented in:
-
settings
|
|
Maximum rate value count in rating question
- Type:
-
number writable
- Implemented in:
-
settings
|
|
Specifies how the input field of Text questions is rendered in the read-only mode.
Available values:
"input" (default) - An 'input' element is used to render a Text question's input field.
"div" - A 'div' element is used to render a Text question's input field.
- Type:
-
string writable
- Implemented in:
-
settings
|
|
Set to true to always serialize the localization string as object even if there is only one value for default locale. Instead of string "MyStr" serialize as {default: "MyStr"}
- Type:
-
boolean writable
- Implemented in:
-
settings
|
|
By default visibleIndex for question with hideNumber = true is -1, and survey doesn't count these questions when set questions numbers.
Set it true, and a question next to a question with hidden title number will increase it's number.
- Type:
-
boolean writable
- Implemented in:
-
settings
|
|
By default visibleIndex for question with titleLocation = "hidden" is -1, and survey doesn't count these questions when set questions numbers.
Set it true, and a question next to a question with hidden title will increase it's number.
- Type:
-
boolean writable
- Implemented in:
-
settings
|
|
By default checkbox and radiogroup items are ordered in rows.
Set it "column", and items will be ordered in columns.
- Type:
-
string writable
- Implemented in:
-
settings
|
|
By default we do not store a value for a locale if it equals to "default" locale value
- Type:
-
boolean writable
- Implemented in:
-
settings
|
|
Supported validators by question types. You can modify this variable to add validators for new question types or add/remove for existing question types.
- Type:
-
{ question: string[]; comment: string[]; text: string[]; checkbox: string[]; imagepicker: string[]; } writable
- Implemented in:
-
settings
|
|
SurveyJS web service API url
- Type:
-
string writable
- Implemented in:
-
settings
|
|
Cache the result for choices getting from web services. Set this property to false, to disable the caching.
- Type:
-
boolean writable
- Implemented in:
-
settings
|
|
Set this value to false, if you want to have UTC fuctions, for example setUTCHours inside our functions, like today.
By default it uses setHours function, with local date
- Type:
-
boolean writable
- Implemented in:
-
settings
|
|
Encode parameter on calling restful web API
- Type:
-
boolean writable
- Implemented in:
-
settings
|