I have several questions of type decimal with a default value set to "0" (zero). This displays properly on the form but when the user enters a value, sometimes the 0 (zero) is overwritten with the new value and sometimes the 0 remains - the result is 012 instead of 12. This does not affect calculations in the form when the user modifies the value but is inconsistent for the user. How do I set this so that it always overwrites the default 0 (zero)?
As a follow up, setting the default value to 0 (zero) also does not work in calculations if the group is not opened. How can I write the calculation so that the default value of 0 is used even if the group is not opened?
Example; This formula:
${abvgrd} + (${RRDEPTH} * ${RRCOUNT}) + ${FRDEPTH} + ${GRDADJDPT} + ${CONEDEPTH} + ${WALLDEPTH} + ${TRFDEPTH}
works if every field is populated by the user. But, for the field ${abvgrd} the user does not enter a value if the previous questions is answered "Below Grade". I thought setting the Above Grade {abvgrd} value to 0 would allow the calculation to complete but apparently there is no 0 applied when Below Grade is selected.
Suggestions?