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

    Using multiple variables on single notification

    Asked by joshua.r.devine on April 08, 2015 at 01:19 AM

    Hi,

    In creating my notifier emails, I would like to create a text that says "{Full Name} has submitted records for {Sub Department}" I am not able to do this because I have 8 fields listing sub departments (conditioned to show up only when the respective department is clicked in the "Department" field). 

    Is their a code that auto populates in the email what "Sub Department" they chose?  Or do I have to create an email notifier for each sub department and condition that specific email to send only when that department is clicked?

    Josh D.

  • Profile Image
    JotForm Support

    Answered by EltonCris on April 08, 2015 at 09:06 AM

    Hi Josh,

    There are 3 possible solutions I know.

    1. Using Dynamic Dropdown Widget. Instead of using multiple drop down fields, use this widget instead http://widgets.jotform.com/widget/dynamic_dropdowns. With this, you only have to use 1 field variable plus you don't need to write conditions for it. This is so far the easiest solution I'd recommend most.

    2. Using email conditions. Just like what you have mentioned, you can use email conditions to trigger notifications depending on the selected sub department.

    3. Apply all the field variables. I haven't tested this but this should also help. Instead of using single field variable, try placing all the sub department field variables all together. The ones picked by the user will show on email and the rest are empty or blank.

    Here's an example:

     "{Full Name} has submitted records for {Sub Department}{Sub Department1}{Sub Department2}..."

    Hope any of these helps. Regards!