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

    Using conditionals to check if a field is completed and if not a related field has been completed instead.

    Asked by ufsltd on November 05, 2015 at 09:01 AM

    Hoping this hasn't been asked before !

    As part of a quotation form, I want the user to complete EITHER the Postcode OR Town/City name without making them complete both.

    Is there any way I can use conditions to enable this ?

    Screenshot
    quotation form postcode quotation
  • Profile Image
    JotForm Support

    Answered by Welvin on November 05, 2015 at 10:13 AM

    You can make both as required then hide the other if one is filled. Here's our guide for show/hide conditional logic:

    https://www.jotform.com/help/316-How-to-show-or-hide-a-field-in-the-form-based-on-the-other-field-input-or-selection

    Or, you can make both as required then unrequire the other if the other one is filled. Like this:

    Just simply repeat the same method for both fields. 

    Thanks

  • Profile Image

    Answered by ufsltd on November 05, 2015 at 10:28 AM

    Fantastic, thanks for the prompt response Welvin.
    Clearly, I wasn't thinking "logically".

  • Profile Image
    JotForm Support

    Answered by Welvin on November 05, 2015 at 12:00 PM

    You're welcome. Please contact us again if we can help in any way.

    Thanks