You can set a formula on a form item using the Properties
window. The following instructions describe how to open the Formula
editor and the formula options available.
You must set the formula on the form item that stores
the result. For example, if you want to add two numbers together,
set the formula on the field where you want the result shown.
Note: If
you are creating a formula to assign a string value to a Time form
item, the content of the string must be based on a 24-hour clock.
If the input value is not in a valid 24-hour clock format, the resulting
value will not be correct.