Previous Topic: dtlStartRowNext Topic: dtlTextbox


dtlSurvey

The dtlSurvey macro displays multiple choice answers for each survey question. Survey questions can accept single answers for which option buttons are displayed or can accept multiple answers for which check boxes are displayed. You can use this macro in survey forms like preview risk survey, submit risk survey, and view submitted survey.

This macro has the following properties:

answerselected=number

Specifies the index of the selected answer.

colspan=1|number

Specifies the number of columns on the form.

factory=name

Specifies the factory containing the survey, usually risk_svy_atpl.

parentid=number

Specifies the database id of the question, usually $question.id.

parentmultiflag=number

Specifies whether to display a check box or a option button. This value is usually $question.mult_resp_flag.

parentsequence=number

Specifies the question sequence. This value is usually $question.sequence.

view=preview|doview|viewsubmitted

Specifies the survey view to display. You can specify any of the following views: