homefeaturesexamplesDOCUMENTATIONblogpricingcontact us
technical documentationCATI documentationcookbookrobot

Commenting a questionnaire


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


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


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:

    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.


e-mail technical support!