我想知道是否有可能有一个幻灯片基于一个动态屏幕。我正在尝试使用动态表格屏幕。当用户单击OK时,$local:categoryCounter将引发并显示数组$local:categoryIndex的其他信息。当用户单击“后退”时,$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 -->发布于 2015-11-16 11:35:33
您将通过以下操作实现预期的行为:
在back导航中没有可以触发的限制,所以所有的逻辑都必须使用前向导航来实现。
https://stackoverflow.com/questions/33733795
复制相似问题