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 text

    Asked by mrmsminnesota on February 21, 2016 at 02:57 PM

    Hello, I have an order form where people can select the # of each ticket type they want

    https://form.jotform.com/60479320130143

    I want to do some conditional logic in the email notification to only show ticket types if they selected them. For example, if there are two ticket types:

    Ticket 1
    Ticket 2

    And they select "2" for ticket 1, but leave ticket 2 at "0," I want the confirmation email to show:

    Ticket 1 X 2

    And if they select a quantity greater than 0 for both, I want the email to show something like:

    Ticket 1 X 2
    Ticket 2 X 3

    Right now, I can only make it do something like this:

    Ticket 1: 2
    Ticket 2: 

    Where ticket 2 is just blank and confusing if they don't select a quantity for it. Is there an easy way to make the ticket type not display if they leave the dropdown selection at "0" ? 

    Thanks!

    Page URL:
    https://form.jotform.com/60479320130143

    conditional email email JotForm order form email notification quantity
  • Profile Image
    JotForm Support

    Answered by BDAVID on February 21, 2016 at 04:21 PM

    Yes there is, you can enable the feature to hide empty fields on email alerts: https://www.jotform.com/help/256-How-to-Hide-Empty-Fields-on-Email-Alerts 

    Please note that this option only works on the default table of your Compose Email: