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

  • Profile Image
    ufsltd
    Asked 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 ?

  • Profile Image
    Welvin
    Answered 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
    ufsltd
    Answered on November 05, 2015 at 10:28 AM

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

  • Profile Image
    Welvin
    Answered on November 05, 2015 at 12:00 PM

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

    Thanks