Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Formatting a slider in a questionnaire

Updated on March 29, 2022

Format a slider in a survey to control the range of values from which users select an answer. For example, you can ask how many days users work each week by formatting a slider with the values one through seven.

Before you begin: Add a question of the slider type to your survey. For more information, see Adding a question to a question page.
Note: Only standard Pega Platform applications support questions with a slider. Applications based on Cosmos React do not display questions with sliders.
  1. Navigate to the questionnaire:
    ChoicesActions
    Open the questionnaire in App Studio
    1. In the navigation pane of App Studio, click Case types, and then click the case type that you want to open.
    2. In the list of case types, open a case type of the Questionnaire type that you want to edit.
    Open the questionnaire in Dev Studio
    1. In the header of Dev Studio, click ConfigureCase ManagementSurvey.
    2. Click the questionnaire that you want to edit.
  2. If you have multiple questions on the question page, click the question that you want to edit.
  3. From the list of question types, select Slider.
  4. In the rich text editor, enter your question.
    For example: Enter How many days a week do you work?.
  5. In the Question settings pane, format the slider:
    1. In the Starting range field, enter the minimum numerical value for the scale, for example, enter 1.
    2. In the Ending range field, enter the maximum numerical value for the scale, for example, enter 7.
    3. In the Interval field, enter the numerical interval between the possible values on the scale, for example, enter 1.
    4. Optional: To preset the answer to the question, enter a value in the Default value field, for example, enter 5.
    5. Optional: To show possible values on the slider, select the Show captions check box.
  6. Click Save.
For example: The following figure shows a slider with captions at run time:
Slider with captions
A run-time display of a question of a slider type with captions enabled
  • Previous topic Formatting a checklist in a questionnaire
  • Next topic Formatting a radio button matrix in a questionnaire

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us