I have a calculation that is supposed to display in a label.
Have used this as the label of the question: The CHW's CommCare Proficiency Score is
<outputvalue="/data/visit_CC_proficiency_score"/>
The visit_CC_proficiency_score is calculated as following in a data node: int((number(/data/CC_proficiency_score)) div
(number(/data/CC_proficiency_total_pts_possible)))
Both CC_proficiency_score, and CC_proficiency_total_pts_possible are
cacluated in data nodes as well.
The label which is supposed to display the score doesn't display any value
when testing on CloudCare.
Not sure if there is a problem in calculating the scores, or in displaying
the value..
Just to confirm it's not a typo - you need a space between "output" and
"value".
Failing that, if you report an issue on commcare hq from the form in
question someone might be able to look at your form and logic and find
something wrong.
Cory
ยทยทยท
On Fri, May 23, 2014 at 5:00 AM, Sangya Kaphle wrote:
Dear All,
I have a calculation that is supposed to display in a label.
Have used this as the label of the question: The CHW's CommCare Proficiency Score is
<outputvalue="/data/visit_CC_proficiency_score"/>
The visit_CC_proficiency_score is calculated as following in a data node: int((number(/data/CC_proficiency_score)) div
(number(/data/CC_proficiency_total_pts_possible)))
Both CC_proficiency_score, and CC_proficiency_total_pts_possible are
cacluated in data nodes as well.
The label which is supposed to display the score doesn't display any value
when testing on CloudCare.
Not sure if there is a problem in calculating the scores, or in displaying
the value..