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

    Conditional email based on postcode and other value

    Asked by chrislittle on May 25, 2016 at 12:06 PM

    I want to send a different email to customers who register on the form depending on whether they are inside or outside our servicing area defined by UK postcode.

    The area contains a lot of postcode areas (about 30) so I have entered the conditional values separated by commas (TN1, TN2, TN3 and so on) - Note these 3 characters are the start of a UK postcode, defining a larger area - the full postcode might be TN14TG, so I have used the logic "starts with.

    I'm assuming that this would work if it was a simple IF logic of compliance with "any" of these codes.

    I think the problem may be that I have another IF level within the same box, coming from a radio button. This means I can't use "any" because the radio button answer would automatically be positive so I used "all". But then it looks for TN1 and TN2 and TN3, in every case which gives the wrong answer

    So what I really want is TN1 or TN2 or TN3.....

    Can you suggest how to make this work?

     

     

    Page URL:
    https://eu.jotform.com//?formID=61392749678372

    conditional logic
  • Profile Image
    JotForm Support

    Answered by Mike on May 25, 2016 at 01:20 PM

    Thank you for contacting us.

    I would like to suggest replacing 'starts with' rules with 'contains' ones.

    It should properly honor your comma separated values.

    If you need any further assistance, please let us know.