Range bar for "Random Value Generator" widget

  • Profile Image
    Asked on March 14, 2018 at 04:45 PM

    Hi there,

    I was wondering if there is a way to have random values generated on the form within a specified range. For example - if I select "2 characters" and only "numbers" - the range goes from 0-99. But I would like to generate a random number within the "Lotto" range - which is 1-40 in my country. 

    Please let me know if this is possible.

    Kind regards,


  • Profile Image
    Answered on March 14, 2018 at 05:59 PM

    You can use the form calculation widget and apply the math formula like the random() function. Please see our guide here https://www.jotform.com/help/267-Form-Calculation-Math-Function-Reference and see if that helps.

    You can check the sample formula here https://form.jotform.com/80726916041960 to generate random numbers from 1-40.


    Let us know if you have any questions or if you need further assistance.