Testing that a specific value is selected

What is the problem? Please be detailed.
Calculate function code for multiple choices answer show on display note

What ODK tool and version are you using? And on what device and operating system version?
Lasted version ODK apk

What steps can we take to reproduce the problem?
Problem has question 2 that how to write code for calculate

What you have you tried to fix the problem?
Please kindly to download attached file and help me.
calculate_error.xlsx (12.5 KB)

Anything else we should know or have? If you have a test form or screenshots or logs, attach here.

Hi there! What is the desired behavior? That is, what are the inputs you want the user to provide and what are the outputs you expect?

2 Likes

Dear yanokwa,
I want to know that calculation for second question but question two choice list is depend on first question choice list. e.g He/she would like to choice (multi 2 choice list ) And then I want to give 2*3.43 = 6.86 marks on display note .
Thank a lot

hi @khantaung
i have check through your sample file i have notice that your calculation field was not correct. please try using this it will work for you.

Your Sample
image

Corrected Calculation

image

1 Like

Dear Fabla
Thank you very much for your answer. I try it.

1 Like