KnowledgeBaseQuestManager Website
Language
 
Home>Knowledge Base>General>SmartTags>Retrieve the VALUE from a LOOP current cycle
Information
Article ID509
Created On6/30/2009
Modified6/30/2009
Share With Others

Retrieve the VALUE from a LOOP current cycle

 

 Back

A) GENERAL METHOD

Format: <$?>
Scope: All of the questionnaire objects that are inside a LOOP by cycles. This SmartTag does not work in a grid-based LOOP.


Example A.1)
You must create a question within a LOOP, based on four distinct fruits: banana, apple, grape and orange. Each fruit has the following respective values: 10, 20, 30 and 40. Soon, you will have four repetition cycles of the same question.

 

 
Q33. Do you think a case of <$> for US$ <$?> is expensive?

For the respondent, the above question is repeated four times in a row (the number of fruits) and the SmartTag<$> will be replaced with the fruits that correspond to the response options on which the LOOP is based, and the SmartTag<$?> by the respective value of each fruit :

    • First cycle: Do you think a case of Bananas for US$10 is expensive?
    • Second cycle: Do you think a case of Apples for US$20 is expensive?
    • Third cycle: Do you think a case of Grapes for US$30 is expensive?
    • Fourth cycle: Do you think a case of Oranges for US$40 is expensive?