Question T13996
Visible to All Users

Change the sort of questions names to be like the sort of the survey

created 2 years ago

Hello SurveyJs Team,

I want to make the order of the names of the questions the same as the order when Create, not the alphabetical order of the letter.

I mean here:

Clipboard-File-1.png

Kind Regards,
Amro

Answers approved by surveyjs Support

created 2 years ago (modified 2 years ago)

Hello Amro,
By default, question names are sorted in ascending order in a Logic rule's question list.

If you wish to display questions as they appear in a survey, handle the creator.onConditionQuestionsGetList event and set options.sortOrder to none to disable sorting of a question list.

JavaScript
creator.onConditionQuestionsGetList.add((sender, options)=> { options.sortOrder = 'none'; })

Please let me know if you have any questions or require further assistance.

    Comments (2)

      Can i Add Search functionality for question names in a Logic rule's question list. ?

        Hello,

        I created a separate ticket on your behalf: T14004: Add Search functionality for question names in a Logic rule's question list. We placed it in our processing queue and will process it shortly.