Value calculations for your prototypes
Add mathematical expressions to your prototypes. In our example, when you enter three numerical values and press the “Calculate” button, the total will be calculated.
To add mathematical calculations to your prototypes, follow these steps:
- In a new prototype, drag four Input text Fields, four Text widgets and a Button, and lay them out as you can see in the example above.
- Select the Button, go to the Events palette and add an “On Click” + “Set Value” event.
- Select the Input Text Field where the total will be displayed, and click on the “Calculated” button located next to the “value is'”input, at the bottom of the Events dialog.
- Drag the first three Input Text Fields and the ‘+’ function onto the Expression builder, as shown in the image below:
- Click “OK” twice.
And that’s all. Click “Simulate” to interact with your prototype.
You can download our example here.