- bitsworkshopAsked on December 15, 2014 at 01:40 AM
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?
- JotForm Supportashwin_dAnswered on December 15, 2014 at 05:57 AM
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.
- bitsworkshopAnswered on December 15, 2014 at 10:46 AM
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.
- JotForm Supportashwin_dAnswered on December 15, 2014 at 12:34 PM
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.
- JotForm SupportliyamAnswered on December 23, 2014 at 04:49 AM
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.
- bitsworkshopAnswered 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.
- ShadaeAnswered on December 23, 2014 at 02:10 PM
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.
- bitsworkshopAnswered on December 29, 2014 at 02:56 PM
Perfect! It works great. You guys rock! Thanks for the excellent support.
- ShadaeAnswered on December 29, 2014 at 03:03 PM
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.