Default value for text field being ignored

  • Profile Image
    Deralict
    Asked on January 11, 2015 at 02:36 AM

    On my form I have a text field ("Fulltime_result") that is set to have a default value of 1. This will eventually be a hidden field; it will receive a value of 1 from a condition that is executed when a toggle field ("Work full-time") is set to "No" (which it is set to by default). So if the toggle is set to "No", "Fulltime_result" should be set to 1, and if set to "Yes", "Fulltime_result" should be set to null.

    The problem is that the field does not assume the default value of 1 as it is set to when the form loads.

    How can I fix this?

     

  • Profile Image
    jonathan
    Answered on January 11, 2015 at 08:20 AM

    Hi,

    The caused of the default value 1 being cleared on the form was due to the conditional statement that was also using the same field.

     

    Modify the conditional statement to this

     

    It will now load the form with a default value 1

     

    Hope this help. Please let us know if you need further assistance.

    Thanks.

     

  • Profile Image
    Deralict
    Answered on January 11, 2015 at 02:28 PM

    That did it! Great thanks. Just for some constructive criticism--the conditions feature is pretty powerful, but not that intuitive. I would expect you guys get a lot of support questions just because the way in which one expects them to work is not how they actually work.

    Keep up the good work nonetheless, in general the service is great.

  • Profile Image
    jonathan
    Answered on January 11, 2015 at 03:40 PM

    Hi,

    We're glad to know it works. And thank you also for the feedback. 

    I understand what you meant. Our dev are also aware of your feedback and we always take into consideration any criticism/feedback/input our users have. 

    Contact us again anytime for any assistance you need with JotForm.

     

    Thanks!