Project

General

Profile

Bug #3768

Updated by Shubham Boke 16 days ago

If there are multiple correct options for a given question, we save the 'Answer' data in format: <correct_option1>%^&<correct_option2>%^&<correct_option3>%^&..... 
 Taking example if If we have the data Answer: "AA%^&DD", otherChoices: "BB%^&CC" 

 Current FE is showing only 3 options (answer expected from FE: 'c'): 
 * a. BB 
 * b. CC 
 * c. AA%^&DD 
 While there are expected 4 options (answer expected from FE should be: 'c, d' OR 'd, c'): 
 * a. BB 
 * b. CC 
 * c. AA 
 * d. DD 

 Currently FE is directly parsing the answer data as a single option. Going forward handle this type of answer data and display each option separately. The accepted answer can be any permutation of correct answers (suppose option a and c are correct): a, b and b, c should be accepted.

Back