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

    If we want to receive email alerts when one of 50 countries are submitted, can we use a single if then statement?

    Asked by for78Mode on October 29, 2014 at 03:13 PM

    We know we can set conditions to be alerted by email when a country is submitted but it looks like we have to create an if then statement for each country (very time consuming).  Can we enter all 50 countries at once in the if "country" field or do we need to create 50 if then statements for each country?  If we can enter all 50 countries such as USA or United Kingdom or Algeria, etc at once, how do we enter it into the field.  Can we enter it "USA or United Kingdom or Algeria" or do we enter it separated by commas "USA, United Kingdom, Algeria"?

    smart forms conditional logic
  • Profile Image
    JotForm Support

    Answered by Mike_T on October 29, 2014 at 05:52 PM

    Thank you for contacting us.

    If you would like to trigger the Email Notification for a specific country only, you will need to use a single condition.

    It means that if the country is not equal to United States, nothing will be sent.

    If you need any further assistance, please let us know. We will be happy to help.

  • Profile Image

    Answered by for78Mode on October 29, 2014 at 09:38 PM

    What we need to know is how to create an if then statement if we have 50 countries we want to be alerted to if they are entered.  We don't want to create 50 different if then statements.  We just want to enter all 50 countries at once as the condition.  Can this be done?  If yes, then how do we enter all 50 countries once? Thank you.

  • Profile Image
    JotForm Support

    Answered by Welvin on October 29, 2014 at 11:21 PM

    Unfortunately, you have to add a separate conditional logic for each country or you can use "NOT EQUALS" rule if it's going to be in general. We don't have an "IF Then" statement from the settings, but I think this can be achieve by using or adding another set of conditional logic.

    Thank you!