XForms/Bind to ranges

Motivation
Your output can be created from calculations from many inputs. The rules behind these calculations (sometimes called business rules) should be stored in the model, not the view.

Screen Image
This program has two inputs and one output. The output is calculated by multiplying the two inputs together. As you move the range controls the output should be updated.



Sample Program
   

Discussion
Note that the output is just inputs and outputs. The calculation that multiplies the two inputs together is done in the output bind statement.

