My field that has a default value but hidden appear in the PDF document

  • Metropolinet
    Asked on July 28, 2019 at 6:48 AM

    Dear JotForm,

    I have a checkbox that which is marked with a default value.

    If this checkbox appears on the form and if not (it has conditions) it appears in the PDF Why?


    https://www.jotform.com/build/83442965338466

  • Welvin Support Team Lead
    Replied on July 28, 2019 at 9:48 AM

    Hi,

    Yes, since you have a default value in the field, it is not cleared with the conditional logic. You should remove the default value if you want the field to remain hidden based on the conditional logic. I find no other way to fix this other than removing the default value. 

  • Metropolinet
    Replied on July 29, 2019 at 1:37 AM

    Dear JotForm,

    There has been no problem with this issue until now, this thing has existed for a year and only now started to appear in PDF.


    I need a solution to this.

    Please your help.

  • Victoria_K
    Replied on July 29, 2019 at 5:04 AM

    I think the problem is that field is not being cleared once hidden. To fix this, you can change form settings to clear values of conditionally hidden fields. I would recommend 'Clear on Submit' option:

    My field that has a default value but hidden appear in the PDF document Image 1 Screenshot 20

  • Metropolinet
    Replied on August 6, 2019 at 7:35 AM

    This option is not good because there are many hidden fields that we use after the form.

    Is it possible to make a condition that if I select a some field, the radio button will be marked default?

    Or another solution to the hidden field problem in PDF?


  • Welvin Support Team Lead
    Replied on August 6, 2019 at 8:56 AM

    You have several fields in the form. I honestly do not know where to start checking this due to the language. Google Translate does not seem to help. Anyways, I think the solution would be to remove all default options. Next, add a condition to select/check option when they're corresponding logic is met.

    So, you have a condition to show these fields, add another to fill these fields based on the same rule. Example, show Field B when Field A is filled. Add another to fill/select an option in field B when Field A is filled. I hope that makes sense to you.

    Guide for the conditional logic:

    https://www.jotform.com/help/268-How-to-Insert-Text-or-Calculation-into-a-Field-Using-Conditional-Logic

    Unfortunately, there is a downside to this method, like when you have two or more default options. The conditional logic cannot do this. Plus, your number of fields to do this. 

    Here's quick demo form you can check: https://form.jotform.com/92174110699965.

    The condition:

    15650961202019 08 06 023 Screenshot 10

    I hope that works for you.