Why Form Calculation Widget is showing the default value?

  • Profile Image
    chinkok
    Asked on March 27, 2017 at 09: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.

     

  • Profile Image
    Nik_C
    Answered on March 27, 2017 at 12:49 PM

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

    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:

    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!

  • Profile Image
    chinkok
    Answered on March 28, 2017 at 01:10 AM

    Perfect, thanks