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

    Prepopulate Coupon Code through URL parameter

    Asked by bitsworkshop on December 15, 2014 at 01:40 AM

    Hi -

    In reviewing this article about pre-populating fields, it appears that there needs to be a "name" attribute in the <input>. However, when examining the HTML source code for the input for Coupon code (in a Stripe payment method) there is no name parameter. 

    Is it possible to pass a Coupon code via a URL?

    Thanks,

    Ira

     

    Page URL:
    http://form.jotformpro.com/form/43465777742972?

    JotForm source name payment method
  • Profile Image
    JotForm Support

    Answered by ashwin_d on December 15, 2014 at 05:57 AM

    Hello Ira,

    I am not sure what you are trying to achieve as coupon codes should not be visible in your form for everyone. But, it is currently not possible to pre-populate the coupon text fields of your payment question. Unfortunately, the text box for coupon code only have ID attribute but does not have any name attribute.

    Let me send a feature request to our back end team. We will get back to you as soon as we have any update from them.

    Thank you!

  • Profile Image

    Answered by bitsworkshop on December 15, 2014 at 10:46 AM

    Ashwin,

    For clarity: I want to send out emails that contain a CUSTOM generated URL for each recipient. The difference will be a URL parameter which I would like to be the Coupon code. This will make it so they won't have to enter the code but will get the correct discount.  I don't believe this should expose the actual coupon codes in the form.

    Yes, please submit a feature request to enable passing the coupon code via URL.

    Thank you,

    Ira

  • Profile Image
    JotForm Support

    Answered by ashwin_d on December 15, 2014 at 12:34 PM

    Hello Ira,

    Thank you for your detailed explanation. 

    I have already submitted feature request to our back end team. We will get back to you as soon as we have any update from them.

    Thank you!

  • Profile Image
    JotForm Support

    Answered by liyam on December 23, 2014 at 04:49 AM

    Hello Ira,

    Here's a recommendation:  Why not create a duplicate copy of the form with different price values in it instead?  This way your customers won't have an idea about a form having a different pricing based on coupons since there won't be any and they won't be seeing be any fields that would give them idea about coupons.

    Anyhow, a ticket has been assigned to a developer and we'll let you know as soon as we have updates on this matter.

    Thanks.

  • Profile Image

    Answered by bitsworkshop on December 23, 2014 at 12:38 PM

    Hi Ilyam -

    Good idea in general. However, some of the codes are more "vouchers" with a single use. If I create a form with the discount (or making the event complimentary) there is no limiting use by the entitled person.

    Thanks for passing this along to the developers.

    Thanks,

     

    Ira

  • Profile Image

    Answered by Shadae on December 23, 2014 at 02:10 PM

    Hi Ira,

    If you would like for your users to only be able to access the discounted form once, you can set form limits on your form.

    You can setup a unique form limit on the form, to ensure that users only accessing the form once.

    You can view our guide here: http://www.jotform.com/help/64-How-to-Set-Unique-Submissions-on-a-Form 

    Any update from our developers will be posted on this thread.

    Thank you.

  • Profile Image

    Answered by bitsworkshop on December 29, 2014 at 02:56 PM

    Perfect! It works great. You guys rock! Thanks for the excellent support.

    Ira

  • Profile Image

    Answered by Shadae on December 29, 2014 at 03:03 PM

    Hi Ira,

    On behalf of my colleagues, you are most welcome. We always happy to get suggestions from our users to improve our product.

    Thank you for informing us that it works as desired.

    Please feel free to contact us if you need further assistance.

    Thank you.