Score and Price
When you create a form, you can include a variables object that defines Recall Information to keep track of total score or price. As respondents complete each field of your form, the score or price updates according to their answers (for score) or selections (for price).
Recall Information is also known as βvariablesβ or βpiping.
You combine this Recall Information with Logic Jumps. For example, if your form is a quiz, you use Logic Jumps to add the points value for each answer option for a question and add the value to the score. At the end of the form, you can recall and display the score value so respondents know how they did.
As another example, if your form is a shopping cart, you use Logic Jumps to add the price for each item a shopper selects to the price, then recall and display the total price value at the end.
Hereβs an example of how to use score in a quiz. This is the JSON for our Trivia Quiz template.
Whatβs next?
Take a look at some walkthroughs for the Create API, then check out the Create reference for more endpoints.