Affiliate Scheme - 2 x Part Dynamic PromoCode Generation

  • Profile Image
    X4less
    Asked on January 07, 2016 at 06:34 AM

    Hi all,

     

    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????

  • Profile Image
    X4less
    Answered 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?

  • Profile Image
    X4less
    Answered 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! 

  • Profile Image
    Kevin_G
    Answered on January 07, 2016 at 12:34 PM

    Hi,

    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.

    This is my sample form : https://form.jotform.com/60065176771962, you can also clone it.

    Here is the condition you should add in your form :

    Hope this will help you, if not, we will be glad to assist you.

    Regards.

  • Profile Image
    X4less
    Answered 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?

  • Profile Image
    Ben
    Answered 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.