Skip to main content
Known Participant
May 16, 2016
Question

Calculated fields

  • May 16, 2016
  • 1 reply
  • 390 views

I found a better way to ask.

I have a calculated field, calculating field 1 X field 2. So with empty fields the calculated field has $ 0.00.....until the calculation is made.

I want the Calculated field to remain empty until there is a calculation.

So if people wanted to print the form to complete, there would not be zeros in that field.

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
May 16, 2016

Enter this code as the custom validation script:

if ( event.value == 0 ) event.value = "";

murrjamesAuthor
Known Participant
May 16, 2016

Thank you, works great. I cant see where to select you as best answer?