I am trying to pass the multiple choise question text and answer option texts from each question node to a webform so users could give feedback and same time see which question they are giving feedback.
So basically I just need to pass the question text in URL like: http://www.mysite.com/question/node/nid/xyz?question=value_comes_here&an... etc.

I have made a block using PHP filter and tried to first just print the question text to the page like this:
print drupal_render($question_node->content['title']);

but nothing happens.

I am using webform and modal forms so the webform opens up over the question page, but i would be nice to pass the question text to webform and also send it with email to teacher.

By the way, why quiz does not use Tokens, or is it possible to use tokens ?

Comments

djdevin’s picture

Status: Active » Closed (outdated)