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

    Custom email variables based on what user purchases?

    Asked by Jack  on November 05, 2015 at 02:32 AM

    Greetings! Your service looks amazing. I run my own web development business and would LOVE to start off with the $19/mo for a client but before I do I have a very important question I simply cannot confirm via your User Guide & Forum (my apologies if this is covered and I missed it). Anyway, here goes...

    Form will have an Authorize.net shopping cart with x8 items. We will be selling a password protected online class for each cart item. Let's say the user purchases classes 1, 2, and 7. Once user pays and clicks [SEND] we are hoping the autoresponder email receipt has the ability to ONLY show him the particular passwords associated with classes 1, 2, and 7 and NOT any of the other classes.

    I have currently been using Machform for years and it does not have this capability if you guys can offer what I could call "email receipt variables" or something to that effect I would switch over in a heartbeat and would be one excited customer.

    Thank you for your time,
    Jack Stoltz

  • Profile Image
    JotForm Support

    Answered by EltonCris on November 05, 2015 at 06:40 AM

    Hello Jack,

    I think that's possible with Send Email Condition. You can trigger notifier/autoresponder according to the form entry.

    First, I suggest creating multiple autoresponders for each class then customize each autoresponder template and enter any information that is only relevant for the class. Check this screenshot:

    Next, create a condition that would trigger the autoresponder email base on the selected product in the authorize.net field.


    Then do the same condition for the others.

    Let us know if you have further questions or if you need further assistance.

    Hope this helps!

  • Profile Image

    Answered by Jack  on November 05, 2015 at 03:30 PM

    Wow. thank you for such a well thought out and detailed reply. The screen shots make this easier for my head to wrap around this one a bit. THANK YOU. I do have 1 more question for you:

    If user selects classes 1, 2, and 7 will this auto send x3 separate emails (1 for each class) or will this have the ability to combine the passwords into ONE email? Ability for 1 email is crucial. Thank you SOOOO MUCH FOR YOUR TIME!

  • Profile Image
    JotForm Support

    Answered by BDAVID on November 05, 2015 at 05:45 PM

    You can create another autoresponder that combines the information for the 3 classes:

    And create a new condition to send that specific autoresponder if the classes 1,2, and 3 are selected.

    See animated image example below:

    Hope this helps.


  • Profile Image

    Answered by Jack  on November 06, 2015 at 04:27 AM

    WOW you guys rock. Screen capped animated replies! AWESOME. I will be sending this to my client and keep this page in my favorites when it comes time to build the forms soon! Thank you tons!

  • Profile Image
    JotForm Developer

    Answered by mert on November 06, 2015 at 06:56 AM

    Hi there,

    On behalf of my colleagues, you are most welcome.

    If you need any other information, please don't hesitate to contact us.



  • Profile Image

    Answered by Jack  on November 06, 2015 at 07:44 PM

    THANKS EVERYONE! BUT Oh man. 1 more question. My apologies for being paranoid. I've spent a bit of time on this with Machform trying to make it work and lost my mind a bit.  Here goes...

    One of our forms will have 10 classes (in need of passwords emailed, remember). ANY number of these classes can be selected. Anywhere from 1 class all the way up to all 10. Keeping this in mind, How many conditions would need to be created for this particular form? Maybe I'm over complicating this but I want to double check my math with what you reply with :)

    Thanks again for sticking with me here you guy are sweet sweet.

  • Profile Image

    Answered by Nelson  on November 06, 2015 at 08:08 PM
  • Profile Image
    JotForm Support

    Answered by EltonCris on November 06, 2015 at 09:42 PM

    Thank you for your reply.

    More or less a thousand of conditions if you are going to create a condition per number combination including 2 selections, 3 selections, 4 and so on...

    I suggest to stay with 10 conditions and have different autoresponders sent for each selection. So if the user picks 3 classes, he'd receive 3 different autoresponders. This is so far the easiest way to overcome this other than creating the entire conditions for multiple classes selection.

    Hope this still helps.

    Thank you and have a good one! :)


  • Profile Image

    Answered by Jack  on November 06, 2015 at 10:04 PM

    Thank you for your clarification but this was devastating to read - and confirmed my thoughts on it being in the thousands :(

    I am in need of these passwords to ALL be sent in 1 email. Client will eventually have options for up to 20 classes and getting 20 separate emails is a nightmare and I don't blame him for not wanting this. The multiple autoresponders setup is achievable in Machform and is the reason I am looking elsewhere!

    Glad we at least go to this point. Sadly :(

    THANK YOU EVERYONE I appreciate your efforts. I'm sorry this is a tough request apparently!

  • Profile Image
    JotForm Support

    Answered by EltonCris on November 06, 2015 at 10:42 PM

    I think there's another way to achieve this which I think pretty much easier than the first method we provided. This doesn't involve creating multiple autoresponders but instead creating multiple fields for the password and then apply conditions to it.


    If class1 is selected, insert a password "myclass1password" into a hidden pass1 textbox.

    Then use the hidden textbox with a password value on the autoresponder.

    Example form setup:

    Then create an "Update a form field value" condition for each of the class. 



    Here's how it looks for the 3 classes:

    Then on the autoresponder template, you can customize it to your preference or like the following. This means that only those selected classes will have a password value. So let says class 1 and 2 are only selected, then only {ps1} and {ps2} variables will be populated with a password value.

    Here's a sample form with the above. The pass fields are shown for testing purposes but you can hide them on the form builder (Right click the field then Hide Field). https://form.jotform.com/53098508956974?. You can clone this form if you want so you can check all the setup.

    If you have further questions or if you need further assistance, let us know.


  • Profile Image

    Answered by Jack on November 11, 2015 at 01:54 AM

    Yo EltonCris....Thank you. I created my acct and cloned what you supplied. Thank you!

    BUT NO matter what I do the form says its disabled. I tried disabling and re-enabling and still the same. I can't publish or even view it or preview it. Am I missing something? Thank you again.

  • Profile Image
    JotForm Developer

    Answered by mert on November 11, 2015 at 03:25 AM

    Hi there,

    If your account is related to the email address "jackstoltz@gmail.com", that account has suspended, that's why you didn't reach your account or your forms.

    Now, I activated your account. Please, retry to reach your form and let us know the results.



  • Profile Image

    Answered by QEGI on November 11, 2015 at 02:37 PM

    Thanks! Not sure why it was suspended. I had created my acct. 10min before that. But no worries I see its working now. Gonna play around and make sure this handles what we need! SUPER PUMPED thanks again.

  • Profile Image
    JotForm Developer

    Answered by mert on November 12, 2015 at 04:47 AM

    Hi again,

    You are most welcome. After this, if you encounter any error on the actual issue, please let us know. 


    Have a great day.