{% Dim ar = CurrentQuestion.ParentLoop.Answers Dim inputName Dim inputValue Dim caption Dim image Dim j Dim labelCount = 0 Dim adcId = CurrentADC.InstanceId Dim interconnection = (CurrentADC.PropValue("interconnection") = "1") Dim freezeBoxLabel = CurrentADC.PropValue("freezeBoxLabel") IF CurrentADC.PropValue("rightLabelText") <> "" Then labelCount = labelCount + 1 EndIF IF CurrentADC.PropValue("leftLabelText") <> "" Then labelCount = labelCount + 1 EndIF For j = 1 To ar.Count inputName = CurrentQuestion.Iteration(ar[j].Index).InputName() caption = ar[j].Caption image = ar.ResourceURL[j] %} {% IF CurrentADC.PropValue("sliderOrientation") = "horizontal" Then %}
{% IF CurrentADC.PropValue("labelPlacement") = "top" Then %} {% IF labelCount > 0 and CurrentADC.PropValue("displayLabelText") <> "none" Then %} {% IF CurrentADC.PropValue("leftLabelText") <> "" Then %} {% EndIF %} {% IF CurrentADC.PropValue("rightLabelText") <> "" Then %} {% EndIF %} {% EndIF %} {% Else %} {% IF CurrentADC.PropValue("labelPlacement") = "side" Then %} {% IF labelCount > 0 and CurrentADC.PropValue("displayLabelText") <> "none" Then %} {% IF CurrentADC.PropValue("leftLabelText") <> "" Then %} {% EndIF %} {% IF CurrentADC.PropValue("rightLabelText") <> "" Then %} {% EndIF %} {% EndIF %} {% IF CurrentADC.PropValue("leftLabelText") <> "" and CurrentADC.PropValue("displayLabelText") <> "none" Then %} {% EndIF %} {% IF CurrentADC.PropValue("rightLabelText") <> "" and CurrentADC.PropValue("displayLabelText") <> "none" Then %} {% EndIF %} {% Else %} {% EndIF %} {% IF labelCount > 0 and CurrentADC.PropValue("labelPlacement") = "bottom" and CurrentADC.PropValue("displayLabelText") <> "none" Then %} {% IF CurrentADC.PropValue("leftLabelText") <> "" Then %} {% EndIF %} {% IF CurrentADC.PropValue("rightLabelText") <> "" Then %} {% EndIF %} {% EndIF %} {% EndIF %}
{%:= CurrentADC.PropValue("leftLabelText") %}
{%:= CurrentADC.PropValue("rightLabelText") %}
{%:= CurrentADC.PropValue("dkText")%}
{%:= CurrentADC.PropValue("leftLabelText") %}
{%:= CurrentADC.PropValue("rightLabelText") %}
{%:= CurrentADC.PropValue("leftLabelText") %}
{%:= CurrentADC.PropValue("rightLabelText") %}
{%:= CurrentADC.PropValue("leftLabelText") %}
{%:= CurrentADC.PropValue("rightLabelText") %}
{%:= CurrentADC.PropValue("dkText")%}
{% IF interconnection Then %} {% EndIF %}
{% Else %}
{% IF CurrentADC.PropValue("rightLabelText") <> "" Then %} {% EndIF %} {% IF CurrentADC.PropValue("leftLabelText") <> "" Then %} {% EndIF %}
{%:= CurrentADC.PropValue("rightLabelText") %}
{%:= CurrentADC.PropValue("leftLabelText") %}
{%:= CurrentADC.PropValue("dkText")%}
{% IF interconnection Then %} {% EndIF %}
{% EndIF %} {% Next %}