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

    Is it possible for an auto-respond email to generate a coupon code?

    Asked by florencejhill on October 12, 2016 at 05:51 AM

    Hi there, 

    we want to add vouchers to our website for a variety of different products and price ranges and wondered if there was a way for the email confirmation of the voucher purchase could automatically include the unique voucher code that the customer could then give as a gift, rather than waiting for us to generate a code and send it on. 

    Let me know if this is possible




    Page URL:

  • Profile Image
    JotForm Support

    Answered by Rose on October 12, 2016 at 08:02 AM

    I think the closest way could be to separate your form into 2 forms and direct your user from one to another by giving the coupon code on the thank you page before transaction. 

    - The first form includes all the fields on your current form except payment field.

    - The second form includes only the payment field. Please note that You need to create the coupon code on this form at payment wizard. Below coupon code was created on my cloned form just to show you the steps needed to be followed. . 

    - You need to configure first form thank you page something similar to the below thank you page. The idea here is to direct your user to the payment field and allow them to use coupon code by giving in the first thank you page. 

    When your user click the second form link on this thank you page and paste the coupon code to the second form, the discount will be applied. 

    Hope, this would helps you and please feel free to contact us if you have more questions.