Skip to main content

Generate a random string of fixed length

YIDA provides a function to generate random codes: UUID() to generate a unique string.

Each time the form is opened, a random sequence is automatically generated. Such strings will never be repeated, but may not meet the needs of users. Some users need shorter random sequences, and UUID() can also be used. However, only pseudo-random can be achieved, and there is no guarantee that it will not be repeated. It should be thought that a part of this character is truncated as a new random sequence.

Make a 10-digit random sequence consisting of uppercase letters and numbers.

Functions used:

  • RIGHT(A,B): Takes the rightmost B digit in string A.
  • UPPER(A): converts lowercase characters in string A to uppercase
  • UUID(): generates a unique string and assigns it to a single-line input box.

The final formula is:

{"text":"UPPER(RIGHT(UUID(),10))","marks":[],"isCmData":true}

Note: UUID() ensures that the output string will not be repeated, and does not guarantee that the part intercepted from this string will not be repeated. Therefore, users who need not to repeat the string, verify to remind users to refresh and obtain new strings.


YIDA in order to better optimize the content and quality of YIDA user manual, it takes you 3-5 minutes to fill in the document feedback questionnaire. The document feedback questionnaire is submitted anonymously, and the questionnaire information is only used for YIDA document experience feedback collection. Thank you for your support for YIDA!

Click here to fill in the questionnaire


-------------------- Get the latest information YIDA, welcome to follow US--------------------

This doc is generated using machine translation. Any discrepancies or differences created in the translation are not binding and have no legal effect for compliance or enforcement purposes.
Copyright © 2024钉钉(中国)信息技术有限公司和/或其关联公司浙ICP备18037475号-4