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

    How to generate a random out with an alphabet and a number?

    Asked by robotic34 on June 14, 2017 at 12:57 PM

    Hi guys!
    In looking over one option for a Random Value Generator, are there any others that are known, which would allow defining the characteristics of the output? Currently, the numeric-only option allows for digits 0 through 9.
    If I wanted to define a random-output for game-dice (4-sided, 6-sided, D8, D12, D20, etc), to get the result of a 4-sided die (a D4) I would have to use a "2 digit" random-value, divide by 25.


    Are there any other options you might be aware of to allow random-output without a secondary calculation? (And yes, the easy answer would be to just use 10-sided dice! LOL)
    OR! IF a suggestion could be made, because the Widget allows for an upper/lower case (which is not relevant to numbers), could that option be used to define the range of random-characters?


  • Profile Image
    JotForm Support

    Answered by Kiran on June 14, 2017 at 01:16 PM

    I understand that you want to generate random value with a character and a numeric value. Is that correct? Though it is possible to generate the random value using 'Random value generator' widget, unfortunately, it does not meet your requirement to generate in the format D8, D12, etc. Also, you want to restrict the number to a number or a range of random characters which is not possible with Random value generator widget. 

    Please provide us with the exact requirement that you are looking for your forms with an example so that we may be able to send a feature request to our backend team for evaluation.