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

    Can I Create Form Condition by Postcode?

    Asked by olay on June 06, 2011 at 08:12 AM

    Hi,

    I was trying to set up conditions for notifications to go to different email addresses according to the UK postcode.

    i.e. if entered postcode starting with BN1, notification should go to branch1@email.com

     but if the postcode starting with BN12, notification should then go to branch2@email.com

     

    However, the form doesn't seem to recognise the difference between BN1 and BN12. Is there anything I can do i.e. add a bracket [BN12] to make it recognise the differences that it is a different area even though it contains BN1 in the query.

    I also tried "contains" rather than "start with" but it has the same issue.

    UK postcodes are very distinguish so it is important that we are able to separate requests from certain areas.

    Please can you help?

     

    Thanks

    Olay

    Page URL:
    http://www.jotform.com/form/10614442281

  • Profile Image
    JotForm Support

    Answered by mliz on June 06, 2011 at 08:51 AM

    Hi Olay,

    I duplicated the existing form you have created and tested the conditions
    already added. Please note that the condition statements are case sensitive
    to ensure that the post code conditions are followed I added another rule with
    the "Contains" statement  to allow both lower and upper case codes.

    Upon testing the form using the BN1 and BN12 as postcodes the notification
    emails were sent to their corresponding email set in the conditions.

    1. Saved Conditions

     

    2. Rules for the BN1 Post code email sent to branch1@email.com

     

    3. Rules for condition BN12 notification email sent to branch2@email.com

     

    Let us know if you have clarifications.

    Regards,
    Mliz

  • Profile Image

    Answered by olay on June 06, 2011 at 10:13 AM

    Hi Mliz,

    It seems to work a treat! Thanks very much for such a quick response.

    Much appreciated!

     

    Regards,

    Olay

  • Profile Image

    Answered by AspenClean on July 17, 2012 at 04:07 PM

    hi, could you tell me what template you used for this as I am having trouble with the same issue. I can only add a condition for if the whole address is filed or not. Thanks!

  • Profile Image
    JotForm Support

    Answered by jonathan on July 17, 2012 at 04:39 PM

    @ AspenClean

    Can you share to us which of your form you are having the Condition trouble?

    It is preferable if you can create your own post here. We could have found the form you are currently working on already if only you have created your own new thread.

    Thanks.