This function iterates through the blocks and anything that has a DataExportTag is added to a list of questions, and it returns that list of questions from the blocks.
1 | questions_from_blocks(blocks)
|
blocks |
A list of the survey blocks, with the questions and responses inserted in place of the BlockElements. Structuring the blocks in this way is automatically handled by get_reorganized_questions_and_blocks, but can also be performed by (after inserting the responses into questions) using the questions_into_blocks method. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.