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

    How to show blank field using condition logic

    Asked by CashAngelsInc on July 03, 2016 at 01:31 PM

    Hello, how do I create a condition where if a certain drop down answer is selected, a blank form field appears?  For example, the question is do you own or rent.  So when "own" is selected, a blank text box should appear which says, how much do you pay for rent?  When the answer is submitted to me, it should say whether rent or own was selected and also the amount.  Is that possible to do?

    form field conditions
  • Profile Image
    JotForm Support

    Answered by liyam on July 03, 2016 at 02:02 PM

    Hello CashAngelsInc,

    Yes, it is possible to do what you have in mind for your for. You can add a show/hide field condition in reference to the selected dropdown value on your form. 

    For further understanding of the usage of the show/hide field condition, you can refer to this user guide: https://www.jotform.com/help/316-How-to-Show-or-Hide-Fields-Base-on-User-s-Answer

    It would also be great if you can share with us the specific form you are working on so we can look into it further and provide you a more detailed step by step procedure.

    Feel free to get back to us if you have questions or in need of assistance.

    Thanks.

  • Profile Image

    Answered by CashAngelsInc on July 03, 2016 at 06:03 PM

    Thank you for the explanation but I am still confused.  When I do the above and "DO" = Show, the "Field" options only include the existing form fields that the form has.  How can I get the Field to show a brand new field?

  • Profile Image
    JotForm Support

    Answered by jonathan on July 03, 2016 at 07:40 PM

    How can I get the Field to show a brand new field?

    The  field must be existing on the form so you can use the Condtion tool to create your condition rules.

    You can test this demo form https://form.jotformpro.com/form/41681694393970 also to have a better understanding on how it works.

    Were you perhaps wanted to create a field programmatically on the form? You can't do that using the Form Builder only.

    Please provde us more details on what you wanted to achieve. Perhaps we can figure out a workaround solution to your requirement once we have a better understanding of it.

    Thanks.

  • Profile Image

    Answered by CashAngelsInc on July 04, 2016 at 11:44 AM

    To clarify, here's an example:

    The question asks "Do you own or rent".  The person either selects "own" or "rent".  If they select "own", the next question should be "what is your mortgage payment.  If they select "rent", the next question should be "what is your "rent payment".

    Can this be done?

    Thank you.

  • Profile Image
    JotForm Support

    Answered by Kevin_G on July 04, 2016 at 12:08 PM

    Yes, this will be done by using conditions as stated above by Jonathan, here is the guide Smart-Forms-Using-Conditional-Logic

    Here is also a guide to achieve exactly what you're looking for: How-to-Show-or-Hide-Fields-Base-on-User-s-Answer

    I've also made a sample form to show you how it works, first add the needed fields to your form, I have added the field as per your example: 

    Then you need to add the conditions, in your example you will need 2 conditions, here is a screenshot about it, more details about this in the guides given above: 

    You can also see how the form works on this link: https://form.jotform.com/61854435356966

    Feel free to clone it and check conditions, here is a guide that will help you to clone my form: How-to-clone-an-existing-form-from-a-URL

    Do let us know if you still have questions, we will be glad to help. 

  • Profile Image

    Answered by CashAngelsInc on July 04, 2016 at 03:07 PM

    I am sorry, I cannot figure it out.  Please look at my form "Merchant Pre-Authorization Form".  The field is called “Business Location(s):" which is field #28.  I have it setup with a drop down where the person can either select “rented” or “mortgage”.  Regardless of which option they select, I would like a field to come up that says “Monthly Payment:”

  • Profile Image
    JotForm Support

    Answered by Nik_C on July 04, 2016 at 05:06 PM

    As my colleague suggested, you can use Conditional logic and set condition on your Business Location(s) field that will show your Monthly payment field, you can follow this guide:

    I added Monthly payment drop-down field for this guide, you can check my form: https://form.jotform.com/61856796698987

    Feel free to clone it.

    Please let me know if you need further assistance.

    Thank you!

  • Profile Image

    Answered by CashAngelsInc on July 04, 2016 at 05:42 PM

    thank you :)