Score not calculating or displaying?

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…

Thanks,
Sangya

Hey Sangya,

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…

Thanks,
Sangya


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.