Quiz Settings

Customize End Page

5min

Custom Ending

Custom Ending feature can be used to show a customized result to the user based on their performance in the Quiz. It is useful to deliver different call to actions by segregating candidate performance.

How to use Custom Ending

  1. After opening a Quiz, add /custom-ending at the end of the URL. If your URL after opening the quiz is https://socratease.co/cms/units/abcd the new URL will be https://socratease.co/cms/units/abcd/custom-ending It will appear as shown below.



Custom Ending Page
Custom Ending Page




2. You can replace the default ending with the custom ending or prepend it to the default ending by toggling this button.



Positioning Custom Ending
Positioning Custom Ending


Terms to define Custom Ending

Primitive Variables

These are the variables that can be used directly in the custom ending template. For example:

You have scored 10 points by answering 5 questions correctly. The underlined numbers indicate Primitive Variables which are displayed as per the candidate's performance in the Quiz.

Five primitive variables are pre-defined.

  1. {{points_aggregate}} : Defines total points scored in the Quiz
  2. {{num_attempted}} : Defines number of questions attempted in the Quiz
  3. {{num_correct}} : Defines number of questions answered correctly in the Quiz
  4. {{num_wrong}} : Defines number of questions answered incorrectly in the Quiz
  5. {{time_taken}} : Defines the total time taken to attempt the Quiz

Derived Variables

These are the variables defined using primitive variable. For instance, remarks on the candidate's performance can be a function of two or more primitive variables defined above. You can set the derived variables using the Conditions section detailed below.

List of Variables

This is the section where you can label your derived variables. Label should be unique and can only have small letters and underscore. You can set a custom message for each label under Default Value.



Document image




Conditions

While setting Conditions, you can assign values to Primitive Variables. To add more than one And statement for a Condition, use the Add Subcondition buttton.



Adding Conditions to Custom Ending
Adding Conditions to Custom Ending


HTML template

The HTML template can be edited to change the image and text in the Custom Ending after all variables and conditions are defined. For image: Change the link in src="link" For text: For ease of editing, your primitive variables are listed using the green buttons. Click on any button to copy the variable and paste it in the HTML template using CTRL+V on Windows and ⌘ Cmd + V on MacOS.

HTML Template
HTML Template




Preview

This is part where you can preview the Custom Ending page as defined using all the sections discussed above.

You can preview the image, different variables that you have defined and the custom messages for all cases.

Preview for Custom Ending
Preview for Custom Ending