Commenting a questionnaire

Problem

You need add comments to the questionnaire but you want to hide them easily.

Solution

Use a custom CSS style and the CSS "display" property.

Discussion

CallWeb includes the ability to place comments inside a script but some may find it less flexible than they would want.

You can also use CSS styles to your benefit in this case. For example, you can create a COMMENT style in the project style.css file (or other style sheet name) that could like like this:

    .COMMENT
    {
    background-color: #EEEEEE;
    color: #CC5C1C;
    font-weight: normal;
    display: block;
    border: 1px #A5A79A solid;
    padding-left: 2px;
    padding-top: 2px;
    padding-right: 2px;
    padding-bottom: 2px;
    }

Then, comments can be inserted in the questionnaire using SPAN tags, such as:

    <span class="COMMENT">Insert some comment here.</span>

This comment will appear in a text box formatted across the page when the questionnaire is displayed, including in Print mode. When the comments are no longer necessary, simply change the COMMENT style from display: block; to display: none; and comments will magically disappear.

Commenting a questionnaire

Problem

You need add comments to the questionnaire but you want to hide them easily.

Solution

Use a custom CSS style and the CSS "display" property.

Discussion

CallWeb includes the ability to place comments inside a script but some may find it less flexible than they would want.

You can also use CSS styles to your benefit in this case. For example, you can create a COMMENT style in the project style.css file (or other style sheet name) that could like like this:

    .COMMENT
    {
    background-color: #EEEEEE;
    color: #CC5C1C;
    font-weight: normal;
    display: block;
    border: 1px #A5A79A solid;
    padding-left: 2px;
    padding-top: 2px;
    padding-right: 2px;
    padding-bottom: 2px;
    }

Then, comments can be inserted in the questionnaire using SPAN tags, such as:

    <span class="COMMENT">Insert some comment here.</span>

This comment will appear in a text box formatted across the page when the questionnaire is displayed, including in Print mode. When the comments are no longer necessary, simply change the COMMENT style from display: block; to display: none; and comments will magically disappear.