Answers.Body: <p>There is no built-in way to do that, but it would be an easy extension.  Could you give a bit of background about how you would use the random numbers?</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-28T16:04:37.393Z
Answers.LastActivityDate: 2017-04-28T16:04:37.393Z
Answers.UserDisplayName: Aidan
Body: <p>Is there anyway to generate a random number using Custom Fields in Civi. any Ideas would be greatly appreciated </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-05-02T14:19:46.637Z
Comments.Text: I have a drush script I've used to assign lottery numbers into a civicrm custom field, I'd be happy to share that with you.
Comments.UserDisplayName: Alan Dixon
Tags: <custom-fields><civicrm-home>
Title: CiviCrm Custom Fields - Random Number Generation
ThreadText: # CiviCrm Custom Fields - Random Number Generation
  
  (Asked by: username_0 on 2017-04-28)
  
  Is there anyway to generate a random number using Custom Fields in Civi. any Ideas would be greatly appreciated
  
  **Tags:** custom-fields, civicrm-home
  
  > **Comments:**
  > **username_1**: I have a drush script I've used to assign lottery numbers into a civicrm custom field, I'd be happy to share that with you.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-04-28. Score: 1
  
  There is no built-in way to do that, but it would be an easy extension. Could you give a bit of background about how you would use the random numbers?
  
  
  ---
  
  