Logo Help Center
Chat with us
Open a ticket
Sign in
  1. aytm Help Center
  2. aytm Logic
  3. Reference usage

Articles in this section

  • Exposure
  • Choice
  • Piping Text
  • Response Text
  • Number of Respondents
  • Comment Text
  • Item Position
  • Convert to numeric value
  • Image
  • Ranges
See more

Random number

In aytm logic, references and aliases can be used in multiple ways, achieving a wide range of possible text and survey flow manipulations.

 

How to Use Random Number Logic

For special cases when you want to use random numbers in your logic, [rand from:to] can be used to generate a random integer within defined range. The number can then be shown to respondent, used in survey flow operations, or in any other logic operations.

Examples

  • Imagine you were given [rand 2:7] days of vacation... - a random number in range 2,3,4,5,6,7 would be shown to the respondent in place of logic
  • [savedRandom=rand 1:100] - store random number in a numeric variable for later use in [show if savedRandom<30] to only show some element to roughly 30% of respondents.

 

  • Facebook
  • Twitter
  • LinkedIn
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Return to top
  • Our platform
  • Solutions
  • Pricing
  • Our panels
  • Help center
  • Contact us
  • Blog
  • Privacy
  • TOU
  • About
  • Careers
  • Innovation lab
  • Demo
© 2022, Umongous, Inc. All rights reserved.

zendesk theme design by aytm c/o diziana