Hey guys, I just want to display the ACBC Winning Concept at the end. But some of my respondents don't conduct the ACBC - if so, there should be nothing and no blank table like now.
The following code shows the Winning Concept:
<font style="font-size:0.83em" color=""><table id="WinningConcept" border="1" cellpadding="10" width="100%">
<tr>
<td><font color="black"><b><i>Brand</i></b></font></td>
<td><font color="black"> [% ACBCWinnerLabel (ACBCLI, 1) %] </td>
</tr>
<tr>
<td><font color="black"><i><b>Type</b></i></font></td>
<td><font color="black"> [% ACBCWinnerLabel (ACBCLI, 2) %] </font></td>
</tr>
<tr>
<td><font color="black"><i><b>Engine</b></i></font></td>
<td><font color="black"> [% ACBCWinnerLabel (ACBCLI, 3) %] </td>
</tr>
<tr>
<td><font color="black"><i><b>Weight</b></i></font></td>
<td><font color="black"> [% ACBCWinnerLabel (ACBCLI, 4) %] </font></td>
</tr>
<tr>
<td><font color="black"><i><b>Price</b></i></font></td>
<td><font color="black"> [% ACBCWinnerLabel (ACBCLI, 5) %] </td>
</tr>
</table></font>
But now I probably have to insert a Perl script which manages the if/else topic. Something like this:
[% Begin Unverified Perl
if (LISTHASPARENTMEMBER("Randomization",4)) {
return ...;
}
return ...;
End Unverified %]
I got no idea how to deal with it, because I can not insert the JavaScript from above after return?
Any ideas how to fix it?