What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Random value generator widget request

    Asked by ICFforms on June 03, 2014 at 01:46 PM

    Hello,

    We are using the Unique ID widget/field on our applications so we have a unique number for our different submissions.  I would also like to use another unique field on the forms to automatically create a password using a series of numbers and letters.  The idea behind this would be that we would like to pull a special report to give the clients who complete these forms, their own username (unique ID) and the password (which would be the second unique field).  I am not able to use a second unique ID field according to the widget and the submissions are not coming through with the prefix that I have idicated.

     

    Any suggestions on how to create this password field that I am looking for, using letters (uppercase and lowercase) and numbers?  We would want this to be as automated as possible.

     

    Thank you,

    Emily - ICF

    unique id unique random value random widget
  • Profile Image
    JotForm Support

    Answered by Mike_T on June 03, 2014 at 03:22 PM

    Unfortunately, there is no such option available at this moment. It sounds like a good idea for a Widget, so I have escalated a feature request ticket to our Development Team. As soon as we have any updates, we will let you know.

    In the meantime, it is possible to generate random Numeric values using a Form Calculation field.

    Form example:

    http://www.jotform.com/form-templates/generate-random-number-2

    If you are interested in this random number generator, we can provide you with instructions.

  • Profile Image

    Answered by ICFforms on June 03, 2014 at 03:33 PM

    Hello,

    Thank you for escalating that request!  I hope it is something to look forward to in the future.  For the random number generator, would it be possible to have letters?  If not, if we were to use it for all of our forms (about 7-10 total), what is the likely hood that numbers would duplicate?  Could you have a prefix number or start it at a certain value?

     

    Thank you for looking into this!

  • Profile Image
    JotForm Support

    Answered by jonathan on June 03, 2014 at 04:42 PM

    Hi Emily,

    If you follow this random generator template instead

    https://www.jotform.com/form-templates/generate-random-number

    you will see that you can insert text/letters in the calculation output when the random number is generated

    Here is an example form http://www.jotform.me/form/41536725454457

     

    The formula/calculation I used is like this

    ---

    what is the likely hood that numbers would duplicate?

    In my suggested formula, the probability of getting duplicate number will be lower if you increases the min/max range value of the formula.

    I hope this can work on your requirement also.

    My colleague Mike_T had already submitted a request ticket for the random number generator widget. We will notify you for any updates on the requested widget.

     

    Thanks!

  • Profile Image
    JotForm Support

    Answered by Mike_T on June 03, 2014 at 04:59 PM

    And there is one more quick example:

    http://screencast.com/t/t8Ro6JC87B

    Form:

    http://form.jotformpro.com/form/41536592476968

    So we can have static letters on the "code".

  • Profile Image

    Answered by MacLuc on June 06, 2014 at 10:19 AM
  • Profile Image

    Answered by Mario57 on February 08, 2016 at 02:43 AM

    MacLuc, this widget does not work , it says : "can not find the file or folder "
  • Profile Image
    JotForm Support

    Answered by Chriistian on February 08, 2016 at 04:26 AM

    @Mario57, I have moved your concern on a separate thread so we can better assist you. You can check the thread here: http://www.jotform.com/answers/766709. We will attend to your concern on that thread accordingly.