Question T4781
Visible to All Users

Survey-Creator: Add new string for choices

created 4 years ago

Hello Team,

As of now "Add new" is used under choices. We want to make it explicit by changing it to "Add option". Unfortunately you have used SurveyEditor.defaultStrings.pe.addNew = "Add Option"; for both options & rows (matrix question). Could you please update it to have new string that applies to options. Then we can add our custom text.

Answers approved by surveyjs Support

created 4 years ago

Hello,
You can use use the following code in the latest versions:

JavaScript
SurveyCreator.defaultStrings.pe.addNew = "Add Option"; SurveyCreator.defaultStrings.pe["addNew@rows"] = "Add Row"; SurveyCreator.defaultStrings.pe["addNew@columns"] = "Add Column";

Here is the example.

Thank you,
Andrew
SurveyJS Team