Computation
Frequently asked questions about computations
Below are some frequently asked questions on computations. Click on a question to unfold it and read related information. What are good names for my questions? The more complicated the computation, the more important you come up with good names for ...
Using entered answers in open questions in computations
It’s possible to display answers from open questions later on in the module as text, e.g., asking for a goal XY and after some pages ask clients how their goal XY is going. To do this: turn on the “use in computation” toggle give a name to the ...
Useful code for creating computations
It is best if you have had training in writing code in Javascript. If that's the case, you can easily write your code yourself. If you are not yet proficient in Javascript, this might be a handy page for you. Below are some snippets of code, matching ...
How to test a computation for a mobile module
To test your computation, it is important to first check whether your computation is actually defined. After opening 'computation' in the left menu, you will see your created compution there. Or you see the default text if you didn't create one yet. ...
Learn more about computations
Help, I'm stuck! If you have any questions, do not hesitate and ask the Minddistrict service desk. If the code gives an error, will not save or refuses, always check the following steps: Have you forgotten a comma? Are the brackets in the right ...
Computations in mobile modules
What to do before adding a computation in a mobile module Determine the score for each answer. Determine the calculation of the scores in Computations JavaScript screen. Determine how the score will be displayed. You can show the score to the client ...
Java script, how do you write the code?
It can be helpful to know how to talk to your computer about computations. While working with code language can tend you to run away and hide, the computer really just wants to understand what you're saying so it knows what to do. And the computer ...
How to create computations
When you create a computation it is especially important to practice a lot. Writing codes is very unforgiving. One small mistake is enough to stop the computation from working. If you get an error, remember: the code is always right! Stay calm and ...
What is a computation?
A computation is a calculation based on answers of a client. What can you do with a computation? Calculate the 'total score' on a questionnaire Give an advice that depends on the score a client gets on a questionnaire Give back the score on several ...