diff --git a/docs/customize-question-types-add-custom-properties-to-a-form.md b/docs/customize-question-types-add-custom-properties-to-a-form.md index a6c8acb97c..d47d168db3 100644 --- a/docs/customize-question-types-add-custom-properties-to-a-form.md +++ b/docs/customize-question-types-add-custom-properties-to-a-form.md @@ -214,17 +214,20 @@ A string value that specifies the property type. Accepts one of the values descr | `type` | Property Editor | Description | | ------ | --------------- | ----------- | | `"string"` (default) | Text input | Use this type for short string values. | +| `"dropdown"` | Drop-down menu | Use this type to allow respondents to select from a set of predefined options. Requires a defined [`choices`](#choices) array. | +| `"buttongroup"` | A group of related buttons | Use this type to allow respondents to select from a small set of predefined options (typically, no more than three). Requires a defined [`choices`](#choices) array. | | `"boolean"` | Checkbox | Use this type for Boolean values. | | `"condition"` | Multi-line text input with an optional dialog window | Use this type for [Boolean expressions](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#conditional-visibility) similar to [`visibleIf`](https://surveyjs.io/form-library/documentation/api-reference/question#visibleIf) or [`enableIf`](https://surveyjs.io/form-library/documentation/api-reference/question#enableIf). | | `"expression"` | Multi-line text input with a hint icon | Use this type for non-Boolean [expressions](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions). | | `"number"` | Text input | Use this type for numeric values. | +| `"spinedit"` | Text input with increase and decrease buttons | Use this type for integer values. | | `"text"` | Multi-line text input | Use this type for multi-line text values. | | `"file"` | Text input with a button that opens a Select File dialog window | Use this type to allow respondents to select a file or enter a file URL. | | `"color"` | Color picker | Use this type for color values. | | `"html"` | Multi-line text input | Use this type for HTML markup. | | [`"itemvalue"`](#define-a-custom-item-collection-property) | Customized text inputs for entering value-text pairs | Use this type for arrays of objects with the following structure: `{ value: any, text: string }`. For example, Dropdown, Checkboxes, and Radio Button Group questions use this type for the [`choices`](https://surveyjs.io/form-library/documentation/api-reference/questionselectbase#choices) property. | | `"value"` | Button that opens a dialog window | The dialog window displays the survey element and allows users to set the element's default value. | -| `"multiplevalues"` | A group of checkboxes with a Select All checkbox | Use this type to allow respondents to select more than one predefined value. Requires a defined [`choices`](#choices) array. | +| `"multiplevalues"` | A group of checkboxes with a Select All checkbox | Use this type to allow respondents to select more than one predefined option. Requires a defined [`choices`](#choices) array. | `type` can also accept custom values. In this case, you need to register a property editor for the custom type in the `PropertyGridEditorCollection` and specify a standard JSON object that the custom type should produce. For example, the following code configures a `"shortname"` property that has a custom `"shorttext"` type: diff --git a/docs/how-to-store-survey-results.md b/docs/how-to-store-survey-results.md index ef0ae679e9..3665e5d8f9 100644 --- a/docs/how-to-store-survey-results.md +++ b/docs/how-to-store-survey-results.md @@ -69,7 +69,7 @@ Follow the steps below to start using the SurveyJS Service: 1. [Log in or register](https://surveyjs.io/Account/Login) on the SurveyJS website. 1. [Create a new survey](https://surveyjs.io/Service/MySurveys). 1. Copy the Survey ID and Post ID: - Survey ID and Post ID + Survey ID and Post ID 1. Assign the IDs to the [`surveyId`](https://surveyjs.io/Documentation/Library?id=surveymodel#surveyId) and [`surveyPostId`](https://surveyjs.io/Documentation/Library?id=surveymodel#surveyPostId) properties: ```js const surveyJson = { diff --git a/docs/images/survey-get-postid.png b/docs/images/survey-get-postid.png index 7946ce89f9..1801242e27 100644 Binary files a/docs/images/survey-get-postid.png and b/docs/images/survey-get-postid.png differ