- burhan061Asked on May 30, 2017 at 02:38 AM
I want to have 2 Fields
In First Field, Customer must enter value from INV5000 to INV6000 only
In Second field, Customer will enter Invoice Date, that can be easily done in jotform.
For First Field, I want help.
- JotForm SupportcandyAnswered on May 30, 2017 at 03:29 AM
You can set an Input Mask to the Short Text Entry field in order to make it start with "INV5" as you can see in the screenshot below:
You can learn more about Input Masks in following guide: https://www.jotform.com/help/381-Getting-Started-with-the-basics-of-Input-Masking
I hope this helps. Let us know if you need further assistance.
- burhan061Answered on June 13, 2017 at 09:35 AM
Hi Candy, But I don't want customers to see that value INV5..
Because We are going to provide them special discount only when they know correct invoice number range.. Means we can know that they have purchased from us.
We want to send mail for discount coupon to them for next order.
- JotForm SupportcandyAnswered on June 13, 2017 at 10:14 AM
Sorry for the misunderstanding. Your question was not clear enough.
We have already a coupon feature in the payment gateways as you can find it at the following guide: https://www.jotform.com/help/233-How-To-Add-Coupon-Code-in-the-Payment-Form
You can set special discounts via the payment gateway.
Please follow the guide and tell us if you need further assistance.
- burhan061Answered on June 13, 2017 at 10:33 AM
No We don't want to use coupon feature of jotform, We are already using magento they have coupons function.
In your previous answer, Input masking is perfect but is there any way that customers don't see that INV5..
But They must type within that range INV5000-INV6000
- JotForm SupportcandyAnswered on June 13, 2017 at 11:19 AM
Please try my workaround as the following:
1. Set a number field to the form in order to let your users enter a value.
2. Set a text field to the form and make it hidden on the form. (Note: I have not set it hidden for now in order to let you see the values)
3. Set 4 conditions to the form as the following as you can see the example screenshot below:
-If the user enters a value greater than 0 and less than 10, DO ALL: Calculate a field's value as and write into the Full Coupon.
-If the user enters a value greater than 10 and less than 100, DO ALL: Calculate a field's value as and write into the Full Coupon.
-If the user enters a value greater than 100 and less than 1000, DO ALL: Calculate a field's value as
-If the user enters a value equal to 6000, Calculate a field's value as .
All in all, the scenario you wanted will work as you can see in the following form: https://form.jotform.com/71634831323957
Feel free to clone it on your side in order to use.
I hope this helps.