• Resolved htausch

    (@htausch)


    I’d like the cloze option to be a mutiple line textarea instead of an input. I’ve changed fetchCloze function from:

    $a = '<span class="wpProQuiz_cloze"><input data-wordlen="' . max($len) . '" type="text" value=""> ';'
    to
    $a = '<span class="wpProQuiz_cloze"><textarea data-wordlen="' . max($len) . '" type="text" value=""></textarea> ';

    But now I get the error message “You must answer this question.” when I test the survey.

    https://www.ads-software.com/plugins/wp-pro-quiz/

Viewing 1 replies (of 1 total)
  • Thread Starter htausch

    (@htausch)

    Solved!

    I also changed all instances of .wpProQuiz_cloze input to .wpProQuiz_cloze textarea in the \js\wpProQuizFront.js and \js\wpProQuizFront.min.js files.

    You can also do the css files but I chose not to becuase I wanted to do my own css styling.

Viewing 1 replies (of 1 total)
  • The topic ‘Change Cloze to textarea’ is closed to new replies.