What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Unrequire Condition: Not working properly with Address field.

    Asked by nikifox on September 19, 2016 at 03:58 PM

    On my form, I have the condition for employment information set so that if someone puts "retired" in the company name, it should disable the requirement for the Position, Employer's address, Employer's phone number, Years with company, and Years in this industry.

     

    However, this does not work for "Employer's address". It works for all of the other fields. Can you help me fix it?

    Screenshot
    address field unrequire condition
  • Profile Image
    JotForm Support

    Answered by Mike on September 19, 2016 at 07:10 PM

    Unfortunately, it seems that there is a bug. The required validation is not being removed from the State/Province field.

    I was able to reproduce it on a test form, so that it has been escalated to our developers.

    There is no ETA for when this can be fixed, but we will get back to you once we have any updates.

  • Profile Image
    JotForm Support

    Answered by NicholasWestley on September 24, 2016 at 11:20 AM

    Hi, this has now been fixed.  Sorry for the inconvenience.

    Regards,

    Nicholas

  • Profile Image

    Answered by nikifox on October 20, 2016 at 01:53 PM

    Hi Nicholas, I moved some fields around and I am still having problems with this field.  The desired behavior is IF the "Employer (Borrower)" field contains "retired" THEN hide & unrequire the following fields: "position/title", "employer address", "employer's phone number", and "years with company".

    We also want to replicate the behavior with "Employer (co-borrower)" field, however this should be modified slightly as follows:

     

    If "Name of Co-borrower" is blank, then hide/unrequire all of the following:  co-borrower email, co-borrower employer, co-borrower position, co-borrower employer's address, co-borrower employer's phone number, co-borrower years with company, and co-borrower years of school completed.

     

    If "Name of Co-borrower" is filled, then require all of the above, unless co-borrower employer contains "retired". In this case, hide and unrequire only the following: co-borrower employer, co-borrower position, co-borrower employer's address, co-borrower employer's phone number, co-borrower years with company.

     

    Is this possible? Our jotform works perfectly except in these instances. Thank you!

  • Profile Image
    JotForm Support

    Answered by Mike on October 20, 2016 at 04:01 PM

    Please note that this is not mandatory to apply unrequire conditions when you hide required field.

    I moved some fields around and I am still having problems with this field.  The desired behavior is IF the "Employer (Borrower)" field contains "retired" THEN hide & unrequire the following fields: "position/title", "employer address", "employer's phone number", and "years with company".

    I have updated your form with the following condition to achieve this.

    If "Name of Co-borrower" is blank, then hide/unrequire all of the following:  co-borrower email, co-borrower employer, co-borrower position, co-borrower employer's address, co-borrower employer's phone number, co-borrower years with company, and co-borrower years of school completed.

    If "Name of Co-borrower" is filled, then require all of the above, unless co-borrower employer contains "retired". In this case, hide and unrequire only the following: co-borrower employer, co-borrower position, co-borrower employer's address, co-borrower employer's phone number, co-borrower years with company.

    The second part is a a little problematic since we do not have the unless conditions. I have implemented it in a bit different manner. The following conditions were added to your form.

    Please check the form now.

  • Profile Image

    Answered by nikifox on October 20, 2016 at 04:48 PM

    Thank you! The Borrower section works beautifully, but the co-borrower one does not (?). I noticed that your changes were not saved in my form, so I added the conditions that you created above. However, I just tested it again and the co-borrower portion is still not working.

  • Profile Image
    JotForm Support

    Answered by Mike on October 20, 2016 at 06:34 PM

    I have re-saved the conditions on your form.

    This is how it is supposed to work:

  • Profile Image

    Answered by nikifox on October 20, 2016 at 07:34 PM

    Yes, that is exactly how it is supposed to work.  I just tested it on my end and it appears to be working . Thanks again for your help!