Dear Developer Team,
I know you're working very hard to come with innovative ideas for the next release.
In the meantime i would like to know:
1.- I have a dictionary with two languages labels, please how to "Getlabel" for a specific language?
2.- Since long ago, it's the first time that i'm trying to output multiple questionnaires as PDF printed ready page. And, as you know i have a old fashion way, but i need to use the latest way, for the first time, so:
a) Analyzing this code in help part:
<table>
<tr><th>Name</th><th>Sex</th><th>Age</th></tr>
{{#PERSON_REC}}
<tr><td>{{NAME}}</td><td>{{SEX}}</td><td>{{AGE}}</td></tr>
{{/PERSON_REC}}
</table>
Please, can i use {{getlabel (SEX)}} to have label?
b) What about multiple responses using latest way?
Thanks in advance for your precious support, since years.
Getlabel for multiple languages and HTML reports
Getlabel for multiple languages and HTML reports
G.VOLNY, a CSProuser from Haiti, since 2004
Re: Getlabel for multiple languages and HTML reports
You could try calling setlanguage() first to set the language and then calling getlabel(). That should work although I haven't tested it.
Re: Getlabel for multiple languages and HTML reports
Thanks Josh. setlanguage () may solve this. But, does html report support cspro logic, so i can write {{getlabel (SEX)}} to show label in Html report?
G.VOLNY, a CSProuser from Haiti, since 2004
Re: Getlabel for multiple languages and HTML reports
I don't think you can do logic inside the templates. You would have to pass the string that results from getlabel(SEX) to the report using setreportdata.