Finding some calculation

How can add a question if the amount is not equal so the question should show error message like it’s oposite (Total number ${total} = ${totalh})

Hi @adisalarzai and welcome to the community!

The logic behind this post should help you:

Basically you can create a note type question, which set to required = TRUE if certain criteria (which is your calculation) doesn’t fit.

If you need further help, don’t hesitate to ask for more :slight_smile:

1 Like
type name label relevant
note errormsg The calculation is not correct ${total} <> ${totalh}
1 Like


How can compare the two if the are not equal it should give us the error msg , like, i have a total of student in first question and we sum female and male , so we show it in a note question and we add one more note question to compare total of student and the sum of that?