- X4lessAsked on January 07, 2016 at 06:34 AM
Would like to create a form for basic affiliate signups and registration.
The affiliate promocode needs to be unique and is formed in 2 x parts.
One part (the first 8 digits) is created by the affiliate themselves when registering their details.
The second part (4 digits) needs to be dynamically created and unique (could be sequential).
The full promocode is to be displayed on the thankyou page and also be emailed to the affiliate upon submission.
How on earth can this be done using jot form????
- X4lessAnswered on January 07, 2016 at 09:05 AM
Essentially guys all I want is
If I enter 'promocod' into a text field
I want the result to print: 'promocodxxxx" whereby the x digits are dynamically (randomly or sequentially) populated.
Is this possible please?
- X4lessAnswered on January 07, 2016 at 12:19 PM
No feedback guys? Surely this is quite a simple process??
Am a PRO member and really need help here please!
- JotForm SupportKevin_GAnswered on January 07, 2016 at 12:34 PM
Thank you for contacting us.
I was making a sample form for you, I found this widget : http://widgets.jotform.com/widget/random_value_generator
You can use it to generate your value, and then add it to a text box with the text.
Here is the condition you should add in your form :
Hope this will help you, if not, we will be glad to assist you.
- X4lessAnswered on January 08, 2016 at 06:56 AM
Hi Kevin, this is very similar to what we'd like to have - the only snag would be that the dynamic text really needs to work on the back end.
Could this be possible?
- BenAnswered on January 08, 2016 at 09:50 AM
I would suggest using the following widget instead: http://widgets.jotform.com/widget/autoincrement
What it does is to allow you to set the prefix, number padding and the starting number and it will add 1 to it on each new submission.
In your case, you do not need prefix, but if you want, you do not need to start from 1, but can instead make it start from 3719 (for example) and then once it comes to the top (9999) you can reset it to come back from 0.
You can see how it would look by going here: https://form.jotform.com/60066427774965
- Just to mention, you can easily add dash or something else between the two values, based on the above I was under the impression that you just want the numbers to be appended to the end of user input.
Do let us know if that would work for you and if you have any questions in regards to this.