In the current version of this module is not saved settings checkboxes:
Multiple answers, Random order, Simple scoring.
And the database does not create the dependent variables:
qq_import_choice_multi, qq_import_choice_random, qq_import_choice_boolean.

The problem was solved by making the following changes to the file qq_import.admin.int
I deleted the line with #parent relating to these forms.

$form['qq_import_multichoice']['qq_import_choice_multi'] = array(
    '#type' => 'checkbox',
    '#title' => t('Multiple answers'),
    '#description' => t('Allow any number of answers(checkboxes are used). If this box is not checked, one, and only one answer is allowed(radiobuttons are used).'),
    '#default_value' => variable_get('qq_import_choice_multi', 0),
    //'#parents' => array('choice_multi'), //delete a row
  );
  $form['qq_import_multichoice']['qq_import_choice_random'] = array(
    '#type' => 'checkbox',
    '#title' => t('Random order'),
    '#description' => t('Present alternatives in random order when quiz is being taken.'),
    '#default_value' => variable_get('qq_import_choice_random', 1),
    //'#parents' => array('choice_random'), //delete a row
  );
  $form['qq_import_multichoice']['qq_import_choice_boolean'] = array(
    '#type' => 'checkbox',
    '#title' => t('Simple scoring'),
    '#description' => t('Give max score if everything is correct. Zero points otherwise.'),
    '#default_value' => variable_get('qq_import_choice_boolean', 0),
    //'#parents' => array('choice_boolean'), //delete a row
  );

Comments

_Gusev_’s picture

Issue summary: View changes
ganesan g’s picture

Assigned: Unassigned » ganesan g
ganesan g’s picture

Status: Active » Fixed

@_Gusev_ thanks for reporting this issue.

@sivaji #parents is removed now and committed to git.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.