Why Form Calculation Widget is showing the default value?

  • chinkok
    Asked on March 27, 2017 at 9:54 AM

    Hi, while testing my form, there is a default nos Age = 48 in the data field.

    I have my browser and jotform cache, but the nos 48 remains, see screenshot. Please have a look how can remove this nos. Thanks.

    Why Form Calculation Widget is showing the default value? Image 1 Screenshot 20 

  • Nik_C
    Replied on March 27, 2017 at 12:49 PM

    That is happening because of the calculation you have in that widget:

    Why Form Calculation Widget is showing the default value? Image 1 Screenshot 30

    The problem is that the widget will work even though the Date of birth is not inputted, so it will calculate current date/360. Since you need that widget to show the current age I suggest to insert one more condition that will show it if the Date of birth is filled:

    Why Form Calculation Widget is showing the default value? Image 2 Screenshot 41

    That way Age field will show only when Date of birth is filled therefore it will always show the exact value.

    Hope it helps.

    Thank you!

  • chinkok
    Replied on March 28, 2017 at 1:10 AM

    Perfect, thanks