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

  • ufsltd
    Asked on November 5, 2015 at 9: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 ?

    Jotform Thread 698315 Screenshot
  • Welvin Support Team Lead
    Replied on November 5, 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:

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

    Just simply repeat the same method for both fields. 

    Thanks

  • ufsltd
    Replied on November 5, 2015 at 10:28 AM

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

  • Welvin Support Team Lead
    Replied on November 5, 2015 at 12:00 PM

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

    Thanks