Avatar

Level 10

I did the same as you.

// Open the field to allow user entries

NumericField1.access = "open";

// Allow override, means you will not get an error message when the calculated value is changed

NumericField1.calculate.override = "disabled";

NumericField1.value.float.value = "0";

Restore original state of the field.

NumericField1.access = "readOnly"

NumericField1.calculate.override = "error"

NumericField1.rawValue = null

NumericField1.execCalculate()

But you're right, the restore does not work.

I tested execEvent("calculate") and execCalculate() with no avail.

Very odd!