Follow these instructions for a demonstration of techniques that you should be able to adapt to your needs.
In the steps below, text in quotes indicates things you type (omitting the quotes) or that you choose from a list of items that you created, text outside quotes represents the name of a menu item, dialog box field, list item or button and ">" represents moving to the next step in the process (selecting a menu item, selecting a field or clicking a button). If quoted text is on a line by itself that indicates that it should be typed in the body of the document. Keypresses will be indicated by square brackets (e.g. [enter] indicates to press the enter key).
- "Item Quantity "
- Insert Fields > Other
- Type User Field > Name "Quantity" > Value "0" > Apply (green checkmark)
- Type User Field > Name "Price" > Value "0" > Apply (green checkmark)
- Type Input field > Selection "Quantity" > Reference "Input Quantity" > Insert > "0" > OK > Close
- [enter]"Item Price "
- Insert Fields > Other
- Type Input field > Selection "Price" > Reference "Input Price" > Insert > "0" > OK > Close
- [enter]"Total Cost "
- Insert Fields > Other
- Type Insert Formula > Formula "Quantity * Price" > Insert > Close
- [enter][enter]"You bought "
- Insert Fields > Other
- Type User Field > Selection "Quantity" > Insert > Close
- " items at "
- Insert Fields > Other
- Type User Field > Selection "Price" > Insert > Close
- " each."
Now click on the quantity input field and a dialog box will pop up. Enter a number and click OK. Click on the price field, enter a price and click OK. All the fields in the document should update and show the expected values. You can change the values in the inputs and everything will update again.
The result should look something like this:
Item quantity 12
Item Price 3.98
Total Cost 47.76
You bought 12 items at 3.98 each