• Resolved appkangaroo

    (@appkangaroo)


    Howdy,

    I have 3,000 questions in what you call as “Text based answers”. I have questions and single answers which a user need to type. Your default on bulk upload is Multiple Options.

    Is there a way to set / upload questions in the default Text based format or bulk edit them to change to this format ? Else I have to update 3,000 times !

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Harmonic Design

    (@harmonic_design)

    Haha, wow. I literally JUST answered you on your previous thread. Crazy timing. I’ll repeat my answer here and we will use this as the new thread since the old one is already marked as complete.

    Have you already performed the upload? If you haven’t, then the best thing to do would be to modify the import tool to set it so that questions are set to the text answer by default. Let me know if this would work for you

    Thread Starter appkangaroo

    (@appkangaroo)

    Hi – Thanks I just posted this in a new thread as I thought may be the other got buried =, lol.

    How can I set the questions to the text answer as default? Sorry if its in the instructions which I couldn’t spot.

    Plugin Author Harmonic Design

    (@harmonic_design)

    You’ll need to edit the plugin directly.

    file hd-quiz/includes/tools/csv_import.php line 234. The line is currently $fields["question_type"]["value"] = "multiple_choice_text";
    but you’ll want to change it to:
    $fields["question_type"]["value"] = "text_based";

    Let me know if you need further assistance

    Thread Starter appkangaroo

    (@appkangaroo)

    Wow – mind blown. Thanks ! I’ll try this and get back ??

    (I know you must be sick of feature requests but controlling this from the csv file would be dope! A column to indicate question format or if Correct Answer=0 then load as text. I will post this idea in the appropriate page later. Great works! )

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to set default question format ?’ is closed to new replies.