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.
- 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.
- “label” – in this line you can name the step after the colon symbol in quotation marks.
- “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.
- “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.
- "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.
- "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.
- "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.
- Every step is contained between curly braces and each step is divided by a comma except for the last step.