This is an advanced feature that uses the JSON format to extend a calculator’s functionality. This feature lets you create multiple steps for your calculator.
Follow the steps below to load an example of the JSON structure, and start dividing your calculator into steps.
- Click the Gear icon on the right.
- Click the Advanced Settings section.
- Click the Load Example button.
- Click Step Example to load 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 you 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 and the last steps. Make sure that all the steps are numbered, and that the first step is given the number '1'.
- label – on this line you can name the step after the colon symbol in quotation marks.
- forward – on 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. This line is always false in the last step.
- backward - on 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 – on this line you can name the backwards step button after the colon in quotation marks. If you don‘t give it a name it will be an arrow symbol by default.
- forwardText -on this line you can name the forwards step button after the colon in quotation marks. If you don‘t give it a name it will be an arrow symbol by default.
- elements – on this line you can write which elements you want to use in the step after the colon symbol, in brackets and 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.