Self Assessment Survey

In the unit created, under Add New Component, click on HTML.

From the selection list, click on Raw HTML. An empty component appears.

Inside this component, click on EDIT. The Raw HTML component editor appears.

Insert the code below

Elements highlighted in yellow are customizable as you wish.

{
    "rating_labels": [
        {
            "score": -1,
            "label": "N/A"
        },
        {
            "score": 0,
            "label": "0"
        },
        {
            "score": 1,
            "label": "1"
        },
        {
            "score": 2,
            "label": "2"
        },
        {
            "score": 3,
            "label": "3"
        },
        {
            "score": 4,
            "label": "4"
        }
    ],
    "meta": {
        "instruction_text": "Rate your proficiency in the following areas, where 1 is the lowest and 4 the highest",
        "description": "Student Self Assessment",
        "title": "Self Assessment Survey"
    },
    "categories": [
        {
            "name": "Project Management Module",
            "questions": [
                {
                    "text": "Assignments",
                    "id": "q1"
                },
                {
                    "text": "Estimating",
                    "id": "q2"
                },
                {
                    "text": "Planning",
                    "id": "q3"
                }
            ]
        },
        {
            "name": "Demand Management Module",
            "questions": [
                {
                    "text": "Unplanned Work",
                    "id": "q4"
                },
                {
                    "text": "Ideas",
                    "id": "q5"
                }
            ]
        }
    ],
    "profile_definitions": [
        {
            "name": "Profile 1",
            "targets": {
                "q1": 2,
                "q3": 2,
                "q2": 2,
                "q5": 2,
                "q4": 2
            }
        },
        {
            "name": "Profile 2",
            "targets": {
                "q1": 3,
                "q3": 3,
                "q2": 3,
                "q5": 3,
                "q4": 3
            }
        },
        {
            "name": "Profile 3",
            "targets": {
                "q1": 4,
                "q3": 4,
                "q2": 4,
                "q5": 4,
                "q4": 4
            }
        }
    ]
}

Click on “Save” button and try the self assessment survey on Triboo.

To reset the survey:

Right-click on the space highlighted in light blue and select Inspect.

If you have right-clicked on the right spot, here is what you should see in the Inspect element:

To have the Reset button appear, click on:

<button class=”reset-survey-btn” type=”submit”>Reset</button>

Then, go to the block just below, and slide a bit down until you see the first “display” in red:

Once you have found it, delete “none!important;” words. By doing so, the Add Post button will appear.

Login to leave your feedback!

Leave a Reply

You must be logged in to post a comment.