InitialValue property

NumberField.InitialValue — Number

Represents the initial value of a number field, displayed before the user has entered an explicit value.

An unchanging initial value can be assigned to a number field simply by typing a value in the field in Calcapp Creator.

When a field is reset through a reset button, its value is set to the initial value (unless the reset button has been configured to instead assign blank values).

If an initial value is set through a formula, the formula is evaluated just before the screen housing the field is shown. In other words, the formula can reference values of fields that have been shown previously.


IF(MainScreen!Result > 4, MainScreen!Result, 0)IF(MainScreen!Result > 4; MainScreen!Result; 0)

Sets the initial value to the value of the Result field, which appears as part of the screen MainScreen, but only if it is greater than 4. Otherwise, the initial value is set to 0.