Skip to main content

Generate Access Code

  • What is it? This formula will return a random access code of 9 alphanumeric characters.

Inputs

This logic has no inputs.

Return values

The formula returns a alphanumeric string separated into three blocks by a hyphen e.g. VIL-DvT-JeS

Formula Logic

  1. The formula takes a the string "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" repeats its 5 times
  2. The string is then shuffled using str_shuffle
  3. And the first 3 characters of the string are taken
  4. Steps 1 - 3 are repeatable for the remaining 2 blocks, with the resulting code returned

Customer Masterclass: Mastering Access Codes & Data Flows Between Jadu Connect & Central

With Paul Johnson, Training Manager and Content Strategist, Jadu.

Learn how to:

  • use access codes
  • use Jadu Connect logic in Jadu Central forms
  • pull data into a Jadu Central form from an existing case in Jadu Connect
  • use data from a case in Jadu Connect to populate a form in Jadu Central

9 April 2025