keyboard_arrow_left back to knowledge base

Dividing your calculator into steps

This is an advanced feature that uses the JSON format to extend the calculator functionality. Using this feature, you can create multiple steps for your calculator. Make sure that the steps are numbered, and the first step is indicated by the number 1. Click LOAD EXAMPLE and then click SIMPLE EXAMPLE to see the JSON structure.

NOTE: Advanced features are only available either in the calculator preview or on the published version. The calculator editor does not currently show these features.

  1. The first number in commas tells which step you are modifying. You can change the sequence anyway you like but you have to change the true and false statements for “forward” and “backward” according to the first step and the last step.
  2. “label” – in this line you can name the step after the colon symbol in quotation marks.
  3. “forward” – in this line you can write true or false after the colon symbol. True means that there will be another step, false means that this is the last step. In the last step this line is always false.
  4. “backward” - in this line you can write true or false after the colon symbol. This means that there are steps before this one and you can go back. This line is false only in the first step.
  5. "backwardText" – in this line you can call the backwards step button however you like after the colon in quotation marks. If you don‘t write it a name it will just be an arrow symbol.
  6. "forwardText" - in this line you can call the forwards step button however you like after the colon in quotation marks. If you don‘t write it a name it will just be an arrow symbol.
  7. "elements" – in this line you can write which elements you want to use in the step after the colon symbol, in brackets and in quotation marks divided by commas.
  8. Every step is contained between curly braces and each step is divided by a comma except for the last step.