Posted by lenkaen on November 1, 2017 at 10:17am
I am new to drupal as a developer. I am using drupal 7 and the quiz module. I would like to add to the URL for when a user is taking a multiple choice quiz and clicks one of the buttons back/submit/quiz, so that the quiz page is shown from the anchor #quiz-progress or similar.
I've been trying to figure out the $form array and been looking in the functions
sl_quiz_form_quiz_question_answering_form_alter and _sl_quiz_question_answering_form_submit
in sl_quiz_module, but I haven't figured it out yet.
Any help would be appreciated.
Comments
Partial success
I have managed to do this now by adding a
Is there any chance I could hide this from the URL itself though?
EDIT: nevermind. I don't think I need to or want to.