Field values being cleared on submit

  • hilltopkennels
    Asked on January 6, 2016 at 7:58 AM

    The field values for "Dog heating supplement" {dogHeating148} and "Cat heating supplement" {catHeating} are being set to zero in the notifications generated when the form is submitted.

    The form has been working fine for the last 6 mths so I'm not sure what has changed to affect this.

     

    Thanks,

    Simon

  • mert JotForm UI Developer
    Replied on January 6, 2016 at 10:15 AM

    Hi Simon,

    According to my investigations on your form, you set conditions for those fields; but you use the "Calculation Field" widget and there is no defined value for it. To solve this problem, please use "Text Box" field for those fields.

    Also, you can disable the option called "Hide Empty Fields on Emails" by following the steps from the below:

    Field values being cleared on submit Image 1 Screenshot 20

     

    If you encounter any error or need extra information, please let us know.

    Thanks.

  • hilltopkennels
    Replied on January 6, 2016 at 10:19 AM

    The logic has been set this way for 6 months but has only just started to be reset. If you view the form you will see that it is evaluated correctly on the form but is only zero'd when the form is submitted so the logic is working fine.

  • hilltopkennels
    Replied on January 6, 2016 at 10:24 AM

    The "hide empty fields on emails" is not required. I'm not sure what relevance this has to my issue?

    Simon

  • mert JotForm UI Developer
    Replied on January 6, 2016 at 10:43 AM

    Yes, your logic just working fine and also, I reviewed when I was filling your form, the results are correct; but let me explain it to you. You set a conditions for a "Calculation Field" widget and that widget hasn't set to show any value, so when you hit the "Submit" button, this could override the value which is coming from the conditions, that's why on the notification email, its value is "0".

    In this case, I suggest you to use the "Text Box" field instead of using the "Calculation Field" widget.