-
redmarauder88Asked on January 29, 2015 at 2:48 AM
Hi,
With the normal payment wizard (eg Paypal), I can create a coupon and limit how many times it can be used. However, how can I achieve the same thing when I grab the payment value from the calculation field (custom amount payments)?
Thank you!!
-
CarinaReplied on January 29, 2015 at 9:38 AM
It is possible to create a coupon code by adding text box field to accept the discount code and then adding a Form calculation field.
Now we need to setup a condition that if coupon is equal to "coupon1" then update the Form calculation field:
In this case there is a fixed discount of 20 USD:
You can test and clone the demo form (coupon is coupon1):
http://form.jotformpro.com/form/50283593132957?
Let us know if we can assist you further.
-
CarinaReplied on January 29, 2015 at 9:39 AM
You can see here how to clone a form:
http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL
Thank you
-
dziewanoReplied on January 31, 2015 at 7:38 AM
Hi
Thank You for this workaround. I really need some coupons for "Form Caluculation" field. Now i even manage how to make those coupons expire on specific date :) But one thing left. It would be great to make those coupons expire after 1 or X times used. Plug-in would be awesome or even workaround.
Thank You
-
redmarauder88Replied on January 31, 2015 at 8:20 PM
About the date, can we set the timezone as well?
-
raulReplied on January 31, 2015 at 9:24 PM
Unfortunately, this is not possible since the DateTime field grabs the current date/time from the OS. In other words, it uses the information provided by the operating system where the form is being rendered to populate the field.
If you want to use a specific time zone then you would need to use a server time service like this one: http://www.timeanddate.com/clocks/free.html to grab the date/time for a specific zone. But in order to use it in your form, you'll need to use the full source code and a custom script that can populate the date/time field that is used to validate if the coupon code has expired or not with the method provided by my colleague.
Hope this helps.
Let us know if you have further questions.
Thank you. -
dziewanoReplied on February 5, 2015 at 7:03 AM
Thank You Shadae. You helped mi alot, especially with Unique question. I missed that feature.
-
CarinaReplied on February 5, 2015 at 9:45 AM
On behalf of my colleague you are most welcome.
If you need further assistance please let us know as we're here to help.