I have a problem displaying units after a numeric question input filed in grids. I wrote a question template which works fine with single questions and loops displayed as a serie of single question (f2[..].ask() ) but not when displayed as a grid (f2.Ask() )
The template looks like this:
- Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<mrSubTemplate>
<p><mrData QuestionElement="Label" /></p>
<p><mrData QuestionElement="Error" /></p>
<table>
<tr>
<td>
<mrData QuestionElement="Controls" />
</td>
<td style="margin-left: 0.3em; font-weight: bold;" valign="top">
%
</td>
</tr>
</table>
</mrSubTemplate>
and I apply the template usig this statement:
- Code: Select all
f2[..].f2b.QuestionTemplate = "subtemplates/st_prozent.xml"
Can someone help me with displaying units in grids?
Thank you, Christof
