Skip to main content
March 8, 2013
Question

Random Default Value

  • March 8, 2013
  • 3 replies
  • 1081 views
We have some forms with hidden fields that we would like to assign a random value. We can obviously pass a value we type in but I want the value to be randomly generated and passed for each form fill. Any ideas?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

March 8, 2013
jquery/javascript can be used for random number generation, Trevor.  JQuery has a Math.random() function.
Rafael_Santoni1
Level 5
March 9, 2013
What Craig said.
December 3, 2013
did you solve the problem Trevor ?

It would be great if you could share your script. I am facing the same problem.

kind regards,
Moritz