我想知道是否可以基于一个动态屏幕制作幻灯片。我正在尝试使用动态表格屏幕。当用户单击OK时,$local:categoryCounter会引发并显示我的数组$local:categoryIndex的其他信息。当用户单击back时,$local:categoryCounter减小并在其值大于零时显示(已显示)信息。
这是我到目前为止所尝试的。我尽可能多地省略了不必要的细节,以弄清楚确切的问题是什么。我想要达到的是这个 Epsilon 屏幕再次转发,因为$local:categoryCounter还没有达到零。我知道这不会起作用,因为限制只允许在向前导航中,所以我希望有人有另一个想法来解决这个问题。
<!-- Pre-Epsilon needed to go back in slideshow -->
<question key="#6" type="41">
<answer key="#6_1" clientKey="CK#6" nextQuestionKey="#7"/>
<restriction position="0" nextQuestionKey="#1">
<condition>$local:navigateBack == true</condition>
</restriction>
<onEnterAssignment>
if($local:categoryCounter ?gt 0)
{
$local:categoryCounter = $local:categoryCounter - 1;
$local:navigateBack = false;
}
</onEnterAssignment>
</question>
<!-- End of Pre-Epsilon needed to go back in slideshow -->
<!-- Skill Categories Overview -->
<question key="#7" type="9" title="%PERSON_NAME%" sortAnswersByClientKey="true" labelFontSize="VERYLARGE" labelAlignment="CENTER" timeout="10">
<answer key="#7_1" clientKey="CK#7" attributeType="-128" nextQuestionKey="#8" position="1" dummyAnswer="true" colIndex="0" colWidth="5" colPriority="80">
<text>%SKILL%</text>
</answer>
<answer key="#7_2" clientKey="CK#7" attributeType="-128" nextQuestionKey="#8" position="2" dummyAnswer="true" colIndex="1" colWidth="5" colPriority="70">
<text>%VALUE%</text>
</answer>
<text>%CATEGORY_VALUE%</text>
<onLeaveOkPersistAssignment>
$local:categoryCounter = $local:categoryCounter + 1;
</onLeaveOkPersistAssignment>
<onLeaveBackAssignment>
$local:navigateBack = true;
</onLeaveBackAssignment>
</question>
<question key="#8" type="41">
<answer key="#8_1" clientKey="CK#8" nextQuestionKey="#7"/>
<restriction position="0" nextQuestionKey="#9">
<condition>$local:categoryCounter == count($local:categoryIndex)</condition>
</restriction>
</question>
<!-- End of Skill Categories Overview -->