Group: Forum Members
Posts: 4,
Visits: 83
|
Hi, I am trying to display a running score as the participant completes a task, and I am having trouble using the format function to add the score to a string that can be used as text.
Here is my code, with values.score as the integer that gets updated in the task:
<item scoretext> /1 = format ("Score: %i", values.score) </item>
<text scoretext> /items = scoretext / position = (80%, 5%) / size = (50,50) </text>
When I display scoretext, all it does is show the string "Score: %i" rather than replacing %i with the integer. Am I supposed to use the format function in a different way?
|